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.005625/0.005625, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001291/0.001291, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 286.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8897/0.8897, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001604, allocations: 99.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1489, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4878/0.6367, allocations: 163.2 MB / 0.9253 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005244/0.642, allocations: 4.582 MB / 0.9298 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.6423, allocations: 11.88 kB / 0.9298 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.6428, allocations: 123.1 kB / 0.9299 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.6441, allocations: 0.5406 MB / 0.9304 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.6455, allocations: 0.771 MB / 0.9312 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.6461, allocations: 0.5729 MB / 0.9317 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.6464, allocations: 213.2 kB / 0.932 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008842/0.6473, allocations: 466.2 kB / 0.9324 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.6478, allocations: 289.7 kB / 0.9327 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.6479, allocations: 24 kB / 0.9327 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.6493, allocations: 0.9977 MB / 0.9337 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.6494, allocations: 95.64 kB / 0.9338 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.6495, allocations: 123.4 kB / 0.9339 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008547/0.6504, allocations: 0.713 MB / 0.9346 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6504, allocations: 0 / 0.9346 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6504, allocations: 7.875 kB / 0.9346 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.6504, allocations: 0 / 0.9346 GB, free: 6.414 MB / 0.6856 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.0008456/0.6512, allocations: 0.5957 MB / 0.9352 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.6513, allocations: 12.03 kB / 0.9352 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.6514, allocations: 54.48 kB / 0.9352 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.652, allocations: 75.59 kB / 0.9353 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.6524, allocations: 303.2 kB / 0.9356 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.6524, allocations: 23.89 kB / 0.9356 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.6525, allocations: 16 kB / 0.9356 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.6529, allocations: 279.5 kB / 0.9359 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6529, allocations: 4 kB / 0.9359 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.653, allocations: 8 kB / 0.9359 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.653, allocations: 7.938 kB / 0.9359 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.6534, allocations: 207.7 kB / 0.9361 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.6548, allocations: 1.231 MB / 0.9373 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.6551, allocations: 180.9 kB / 0.9375 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.6553, allocations: 116.2 kB / 0.9376 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/0.656, allocations: 327.2 kB / 0.9379 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.656, allocations: 42.69 kB / 0.9379 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.656, allocations: 0 / 0.9379 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007005/0.6567, allocations: 273.5 kB / 0.9382 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.6568, allocations: 166.2 kB / 0.9384 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.6571, allocations: 279 kB / 0.9386 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.6571, allocations: 33.7 kB / 0.9387 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.6572, allocations: 147.8 kB / 0.9388 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.6573, allocations: 47.28 kB / 0.9389 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.6574, allocations: 41.7 kB / 0.9389 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6575, allocations: 342.8 kB / 0.9392 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.6576, allocations: 71.94 kB / 0.9393 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.6579, allocations: 146.8 kB / 0.9394 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.6582, allocations: 211 kB / 0.9396 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.6582, allocations: 4 kB / 0.9396 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004759/0.6587, allocations: 242.4 kB / 0.9399 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6587, allocations: 8 kB / 0.9399 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6588, allocations: 0.625 kB / 0.9399 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6588, allocations: 8 kB / 0.9399 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.659, allocations: 35.98 kB / 0.9399 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.659, allocations: 11.92 kB / 0.9399 GB, free: 488 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.6592, allocations: 27.69 kB / 0.94 GB, free: 460 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.6592, allocations: 19.92 kB / 0.94 GB, free: 440 kB / 0.6856 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.0001279/0.6593, allocations: 145.7 kB / 0.9401 GB, free: 284 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.6595, allocations: 23.72 kB / 0.9401 GB, free: 260 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.6599, allocations: 200.6 kB / 0.9403 GB, free: 44 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6599, allocations: 4 kB / 0.9403 GB, free: 40 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.66, allocations: 4 kB / 0.9403 GB, free: 36 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.66, allocations: 0 / 0.9403 GB, free: 36 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.6609, allocations: 0.855 MB / 0.9412 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.6609, allocations: 4 kB / 0.9412 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.661, allocations: 22.73 kB / 0.9412 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.661, allocations: 7.938 kB / 0.9412 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.6611, allocations: 4 kB / 0.9412 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.6611, allocations: 4 kB / 0.9412 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6611, allocations: 3.938 kB / 0.9412 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.6616, allocations: 335.5 kB / 0.9415 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.6617, allocations: 112.7 kB / 0.9416 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.6618, allocations: 11.98 kB / 0.9417 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.6619, allocations: 8.062 kB / 0.9417 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.6619, allocations: 15.98 kB / 0.9417 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.662, allocations: 4 kB / 0.9417 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002071/0.6622, allocations: 229.9 kB / 0.9419 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6622, allocations: 0 / 0.9419 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004163/0.6626, allocations: 95.92 kB / 0.942 GB, free: 14.22 MB / 0.7012 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.001173/0.6638, allocations: 0.9895 MB / 0.943 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.6642, allocations: 159.7 kB / 0.9431 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6642, allocations: 0 / 0.9431 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.6643, allocations: 59.91 kB / 0.9432 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.6651, allocations: 138.6 kB / 0.9433 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.6681, allocations: 2.769 MB / 0.946 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.6684, allocations: 0.7595 MB / 0.9467 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.6686, allocations: 67.12 kB / 0.9468 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.6687, allocations: 75.41 kB / 0.9469 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of SimCode: time 2.2e-07/0.6687, allocations: 0 / 0.9469 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.6936, allocations: 8.58 MB / 0.9553 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/8.167, allocations: 8.062 kB / 0.9553 GB, free: 0.6094 MB / 0.7012 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)