Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 192.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 66.02 kB / 0.6711 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1919, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5062/0.6981, allocations: 159.2 MB / 0.9384 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003915/0.7021, allocations: 4.509 MB / 0.9428 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.7024, allocations: 9.391 kB / 0.9428 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.7027, allocations: 101.8 kB / 0.9429 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000647/0.7034, allocations: 319 kB / 0.9432 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.7041, allocations: 251.2 kB / 0.9435 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.7046, allocations: 0.5591 MB / 0.944 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.7049, allocations: 200.9 kB / 0.9442 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008192/0.7057, allocations: 442.6 kB / 0.9446 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.706, allocations: 206.1 kB / 0.9448 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.706, allocations: 15.75 kB / 0.9448 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.7062, allocations: 86.41 kB / 0.9449 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.7063, allocations: 88.05 kB / 0.945 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.7064, allocations: 117.4 kB / 0.9451 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.7067, allocations: 292.9 kB / 0.9454 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7067, allocations: 0 / 0.9454 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7067, allocations: 3.719 kB / 0.9454 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.7067, allocations: 0.7969 kB / 0.9454 GB, free: 5.809 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009117/0.7076, allocations: 0.5367 MB / 0.9459 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.7077, allocations: 10.5 kB / 0.9459 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.7077, allocations: 50.47 kB / 0.946 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.7078, allocations: 29.09 kB / 0.946 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.7081, allocations: 275.2 kB / 0.9463 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.7081, allocations: 11.81 kB / 0.9463 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.7082, allocations: 19.62 kB / 0.9463 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.7086, allocations: 264.3 kB / 0.9465 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.7086, allocations: 4.203 kB / 0.9465 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.7086, allocations: 14.38 kB / 0.9466 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7086, allocations: 10.14 kB / 0.9466 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.709, allocations: 146.5 kB / 0.9467 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.7103, allocations: 1.371 MB / 0.948 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.7106, allocations: 180.9 kB / 0.9482 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.7107, allocations: 97.06 kB / 0.9483 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/0.7111, allocations: 116 kB / 0.9484 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.7112, allocations: 45.5 kB / 0.9485 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7112, allocations: 4 kB / 0.9485 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006172/0.7118, allocations: 211.1 kB / 0.9487 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7119, allocations: 182.9 kB / 0.9488 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.7122, allocations: 291.1 kB / 0.9491 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.7122, allocations: 33.39 kB / 0.9492 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.7124, allocations: 146.7 kB / 0.9493 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.7124, allocations: 39.42 kB / 0.9493 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.7125, allocations: 33.75 kB / 0.9494 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7126, allocations: 335.2 kB / 0.9497 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.7127, allocations: 46.31 kB / 0.9497 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.7129, allocations: 117.8 kB / 0.9498 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.7132, allocations: 158.1 kB / 0.95 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7132, allocations: 1.203 kB / 0.95 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003623/0.7135, allocations: 190.3 kB / 0.9502 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7136, allocations: 10.41 kB / 0.9502 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.7136, allocations: 2.703 kB / 0.9502 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7136, allocations: 2.188 kB / 0.9502 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.7137, allocations: 32.81 kB / 0.9502 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7137, allocations: 3.594 kB / 0.9502 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.7139, allocations: 28.75 kB / 0.9503 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.7139, allocations: 16.97 kB / 0.9503 GB, free: 18.49 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.7141, allocations: 142.8 kB / 0.9504 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.7142, allocations: 27.72 kB / 0.9504 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.7145, allocations: 134.4 kB / 0.9506 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7145, allocations: 2.531 kB / 0.9506 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7145, allocations: 1.375 kB / 0.9506 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.7145, allocations: 3.062 kB / 0.9506 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.7153, allocations: 0.7752 MB / 0.9513 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.7153, allocations: 1.188 kB / 0.9513 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.7155, allocations: 25.81 kB / 0.9513 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7155, allocations: 5.125 kB / 0.9514 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.7155, allocations: 3.359 kB / 0.9514 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7155, allocations: 3.562 kB / 0.9514 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.7155, allocations: 4.719 kB / 0.9514 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.716, allocations: 340.9 kB / 0.9517 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-05/0.7161, allocations: 116.2 kB / 0.9518 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.7162, allocations: 6.609 kB / 0.9518 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.7163, allocations: 13.77 kB / 0.9518 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.7164, allocations: 18.31 kB / 0.9518 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.7164, allocations: 4.719 kB / 0.9518 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002352/0.7166, allocations: 213.1 kB / 0.952 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.51e-07/0.7166, allocations: 0 / 0.952 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003382/0.717, allocations: 53.56 kB / 0.9521 GB, free: 17.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009915/0.718, allocations: 0.9078 MB / 0.953 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.7183, allocations: 125.9 kB / 0.9531 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7184, allocations: 0.9688 kB / 0.9531 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.7185, allocations: 59.33 kB / 0.9532 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.7193, allocations: 136.6 kB / 0.9533 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.7222, allocations: 2.655 MB / 0.9559 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.7226, allocations: 0.7568 MB / 0.9566 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.7227, allocations: 49.95 kB / 0.9567 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.7228, allocations: 68.86 kB / 0.9567 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.7228, allocations: 3.938 kB / 0.9567 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.7434, allocations: 6.65 MB / 0.9632 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.7436, allocations: 236.3 kB / 0.9635 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.658, allocations: 0 / 0.9635 GB, free: 13.36 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)