Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",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.00103/0.00103, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007054/0.007055, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 258.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8806/0.8806, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006974/0.0006975, allocations: 18.19 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1396, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.3874/0.527, allocations: 158.9 MB / 0.8404 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004731/0.5318, allocations: 4.57 MB / 0.8449 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.532, allocations: 10.5 kB / 0.8449 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.5323, allocations: 99.38 kB / 0.845 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.5334, allocations: 0.5151 MB / 0.8455 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.5348, allocations: 0.7048 MB / 0.8461 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.5354, allocations: 0.8128 MB / 0.8469 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.5357, allocations: 171.4 kB / 0.8471 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.5364, allocations: 421 kB / 0.8475 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.5369, allocations: 295.2 kB / 0.8478 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.537, allocations: 10.66 kB / 0.8478 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.5383, allocations: 1.169 MB / 0.8489 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.5384, allocations: 79.28 kB / 0.849 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.5386, allocations: 135.6 kB / 0.8491 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.5394, allocations: 0.7672 MB / 0.8499 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.5394, allocations: 3.938 kB / 0.8499 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5394, allocations: 4 kB / 0.8499 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5394, allocations: 0 / 0.8499 GB, free: 15.61 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007294/0.5401, allocations: 0.5507 MB / 0.8504 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.5402, allocations: 8.375 kB / 0.8504 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.5402, allocations: 54.86 kB / 0.8505 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006031/0.5408, allocations: 86.3 kB / 0.8506 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.5411, allocations: 294.5 kB / 0.8509 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.5412, allocations: 12.91 kB / 0.8509 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.5412, allocations: 21.41 kB / 0.8509 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.5416, allocations: 287.5 kB / 0.8512 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5417, allocations: 0 / 0.8512 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.5417, allocations: 7.188 kB / 0.8512 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5417, allocations: 8.688 kB / 0.8512 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.5421, allocations: 227.2 kB / 0.8514 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.5434, allocations: 1.234 MB / 0.8526 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.5437, allocations: 182.6 kB / 0.8528 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.5439, allocations: 120.9 kB / 0.8529 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/0.5446, allocations: 344.3 kB / 0.8532 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.5446, allocations: 45.34 kB / 0.8533 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.5446, allocations: 0 / 0.8533 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.000687/0.5453, allocations: 297.1 kB / 0.8536 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.5454, allocations: 156.9 kB / 0.8537 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.5456, allocations: 281.6 kB / 0.854 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.5457, allocations: 31.8 kB / 0.854 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.5458, allocations: 149.6 kB / 0.8541 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.5458, allocations: 49.64 kB / 0.8542 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.5459, allocations: 20.48 kB / 0.8542 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.546, allocations: 346.4 kB / 0.8545 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.5461, allocations: 66.73 kB / 0.8546 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.5463, allocations: 153.8 kB / 0.8547 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.5467, allocations: 229.4 kB / 0.855 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5467, allocations: 0 / 0.855 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004552/0.5471, allocations: 255.9 kB / 0.8552 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5472, allocations: 9.781 kB / 0.8552 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5472, allocations: 0 / 0.8552 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5472, allocations: 5.469 kB / 0.8552 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.5474, allocations: 38.66 kB / 0.8553 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5474, allocations: 6.5 kB / 0.8553 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.5476, allocations: 36.77 kB / 0.8553 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.5476, allocations: 17.09 kB / 0.8553 GB, free: 11.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001165/0.5477, allocations: 152.2 kB / 0.8555 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.5479, allocations: 26.12 kB / 0.8555 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.5483, allocations: 193.5 kB / 0.8557 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5483, allocations: 1.906 kB / 0.8557 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5483, allocations: 3.188 kB / 0.8557 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5483, allocations: 3.984 kB / 0.8557 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008473/0.5492, allocations: 0.8672 MB / 0.8565 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5492, allocations: 7.172 kB / 0.8565 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5493, allocations: 23.05 kB / 0.8566 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5493, allocations: 6.625 kB / 0.8566 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.5493, allocations: 2.969 kB / 0.8566 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5493, allocations: 2.938 kB / 0.8566 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5494, allocations: 3.938 kB / 0.8566 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.5499, allocations: 364.3 kB / 0.8569 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.55, allocations: 126 kB / 0.857 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.55, allocations: 2.781 kB / 0.857 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.5502, allocations: 8.531 kB / 0.8571 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.5502, allocations: 16.64 kB / 0.8571 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.5502, allocations: 3.344 kB / 0.8571 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001902/0.5504, allocations: 234.1 kB / 0.8573 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.654e-06/0.5504, allocations: 0 / 0.8573 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000379/0.5508, allocations: 100.7 kB / 0.8574 GB, free: 9.336 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.001051/0.5519, allocations: 1.009 MB / 0.8584 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.5522, allocations: 157 kB / 0.8585 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5522, allocations: 0 / 0.8585 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.5524, allocations: 70.98 kB / 0.8586 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.5531, allocations: 119.8 kB / 0.8587 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.5561, allocations: 2.891 MB / 0.8615 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.5564, allocations: 0.7573 MB / 0.8623 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.5566, allocations: 66.94 kB / 0.8623 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.5567, allocations: 75.25 kB / 0.8624 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5567, allocations: 0 / 0.8624 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.348/1.905, allocations: 8.105 MB / 0.8703 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/1.905, allocations: 249.8 kB / 0.8706 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/3.929, allocations: 3.938 kB / 0.8706 GB, free: 1.102 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)