Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009712/0.0009713, allocations: 90.92 kB / 15.35 MB, free: 0.7422 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.007982/0.007982, allocations: 180.5 kB / 16.26 MB, free: 6.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 274.8 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8677/0.8677, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004029, allocations: 16.48 kB / 0.5988 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4074/0.543, allocations: 157 MB / 0.8386 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004413/0.5475, allocations: 4.49 MB / 0.843 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.5476, allocations: 7.25 kB / 0.843 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.5479, allocations: 106.8 kB / 0.8431 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005742/0.5485, allocations: 316.4 kB / 0.8434 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.549, allocations: 244.2 kB / 0.8436 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.5497, allocations: 0.7892 MB / 0.8444 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.5499, allocations: 165.9 kB / 0.8445 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.5506, allocations: 422.1 kB / 0.8449 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.5508, allocations: 197.3 kB / 0.8451 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.5508, allocations: 9.094 kB / 0.8451 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.551, allocations: 67.97 kB / 0.8452 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.551, allocations: 75.78 kB / 0.8453 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.5512, allocations: 143.7 kB / 0.8454 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.5514, allocations: 282 kB / 0.8457 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.5514, allocations: 1.625 kB / 0.8457 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5514, allocations: 0 / 0.8457 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5515, allocations: 0 / 0.8457 GB, free: 2.609 MB / 0.5606 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.0005935/0.5521, allocations: 0.4933 MB / 0.8462 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.5521, allocations: 10.97 kB / 0.8462 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.5521, allocations: 47.42 kB / 0.8462 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.5522, allocations: 34.56 kB / 0.8463 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.5525, allocations: 278.5 kB / 0.8465 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.5525, allocations: 20.5 kB / 0.8465 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.5526, allocations: 18.97 kB / 0.8466 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.553, allocations: 272.2 kB / 0.8468 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.553, allocations: 1.812 kB / 0.8468 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.553, allocations: 14.69 kB / 0.8468 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.553, allocations: 8.781 kB / 0.8468 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.5533, allocations: 160.9 kB / 0.847 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.5544, allocations: 1.379 MB / 0.8483 GB, free: 160 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.5547, allocations: 181.1 kB / 0.8485 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.5549, allocations: 99.11 kB / 0.8486 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.5552, allocations: 137.2 kB / 0.8487 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5552, allocations: 48 kB / 0.8488 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.5552, allocations: 0 / 0.8488 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005488/0.5558, allocations: 221.4 kB / 0.849 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.5559, allocations: 190.4 kB / 0.8492 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.5561, allocations: 288.7 kB / 0.8495 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.5562, allocations: 32.61 kB / 0.8495 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.5562, allocations: 142.7 kB / 0.8496 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.5563, allocations: 37.67 kB / 0.8497 GB, free: 15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.5563, allocations: 20.42 kB / 0.8497 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5564, allocations: 338.6 kB / 0.85 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.5566, allocations: 47.38 kB / 0.85 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.5567, allocations: 123.6 kB / 0.8502 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.557, allocations: 168.8 kB / 0.8503 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.557, allocations: 2.75 kB / 0.8503 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003445/0.5574, allocations: 198.6 kB / 0.8505 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5574, allocations: 14.14 kB / 0.8505 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5574, allocations: 2.469 kB / 0.8505 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.5574, allocations: 2.094 kB / 0.8505 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5576, allocations: 35.7 kB / 0.8506 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5576, allocations: 2.875 kB / 0.8506 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.5577, allocations: 41.89 kB / 0.8506 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.5578, allocations: 4.594 kB / 0.8506 GB, free: 14.24 MB / 0.5762 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.0001093/0.5579, allocations: 146.9 kB / 0.8508 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.558, allocations: 33.41 kB / 0.8508 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.5583, allocations: 140.3 kB / 0.8509 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5583, allocations: 2.75 kB / 0.8509 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5583, allocations: 2.062 kB / 0.8509 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5583, allocations: 2.625 kB / 0.8509 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.559, allocations: 0.774 MB / 0.8517 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.5591, allocations: 2.562 kB / 0.8517 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.5592, allocations: 23.67 kB / 0.8517 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5592, allocations: 2.469 kB / 0.8517 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5592, allocations: 6.781 kB / 0.8517 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5592, allocations: 2.688 kB / 0.8517 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5592, allocations: 0 / 0.8517 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.5597, allocations: 363.9 kB / 0.8521 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.5598, allocations: 111.6 kB / 0.8522 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.5598, allocations: 7.297 kB / 0.8522 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.5599, allocations: 8.25 kB / 0.8522 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.56, allocations: 25.45 kB / 0.8522 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.56, allocations: 3.75 kB / 0.8522 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001514/0.5601, allocations: 208 kB / 0.8524 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5601, allocations: 2.031 kB / 0.8524 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002833/0.5604, allocations: 48.75 kB / 0.8525 GB, free: 12.65 MB / 0.5762 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.000808/0.5612, allocations: 0.9324 MB / 0.8534 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.5615, allocations: 134.1 kB / 0.8535 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5616, allocations: 0 / 0.8535 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.5617, allocations: 66.36 kB / 0.8536 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.5624, allocations: 131.7 kB / 0.8537 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.565, allocations: 2.72 MB / 0.8563 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.5652, allocations: 0.7608 MB / 0.8571 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.5654, allocations: 51.91 kB / 0.8571 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.5655, allocations: 69.19 kB / 0.8572 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5655, allocations: 0 / 0.8572 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.74/2.305, allocations: 6.367 MB / 0.8634 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/2.306, allocations: 258.7 kB / 0.8637 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/4.064, allocations: 0 / 0.8637 GB, free: 5.465 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)