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.001351/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001061/0.00106, allocations: 198.2 kB / 16.14 MB, free: 6.707 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 282.6 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8561/0.8561, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 94.47 kB / 0.5946 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1235, allocations: 86.99 MB / 0.6795 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.3739/0.4974, allocations: 161 MB / 0.8367 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004003/0.5015, allocations: 4.631 MB / 0.8413 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.5018, allocations: 9.469 kB / 0.8413 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.5021, allocations: 103.5 kB / 0.8414 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009204/0.5031, allocations: 0.5097 MB / 0.8419 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.5044, allocations: 0.6987 MB / 0.8426 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.505, allocations: 0.8117 MB / 0.8433 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.5052, allocations: 176.9 kB / 0.8435 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007569/0.506, allocations: 429.5 kB / 0.8439 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.5064, allocations: 302.4 kB / 0.8442 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.5065, allocations: 11.44 kB / 0.8442 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.5079, allocations: 1.166 MB / 0.8454 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.508, allocations: 77.78 kB / 0.8454 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.5082, allocations: 127.2 kB / 0.8456 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.509, allocations: 0.7659 MB / 0.8463 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.509, allocations: 0 / 0.8463 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.52e-07/0.509, allocations: 0 / 0.8463 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.509, allocations: 0 / 0.8463 GB, free: 13.57 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.000777/0.5098, allocations: 0.5942 MB / 0.8469 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.5099, allocations: 9.812 kB / 0.8469 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.5099, allocations: 53.2 kB / 0.8469 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.5105, allocations: 74.72 kB / 0.847 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.5108, allocations: 298.4 kB / 0.8473 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.5109, allocations: 16.27 kB / 0.8473 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.5109, allocations: 21.56 kB / 0.8473 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.5113, allocations: 286.3 kB / 0.8476 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5113, allocations: 0 / 0.8476 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.5114, allocations: 6.469 kB / 0.8476 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.5114, allocations: 9.562 kB / 0.8476 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.5117, allocations: 216.2 kB / 0.8478 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.513, allocations: 1.239 MB / 0.849 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.5133, allocations: 175.1 kB / 0.8492 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.5135, allocations: 119 kB / 0.8493 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/0.5141, allocations: 336.2 kB / 0.8496 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.5142, allocations: 35.41 kB / 0.8497 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.5142, allocations: 0 / 0.8497 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006563/0.5148, allocations: 284.1 kB / 0.8499 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.5149, allocations: 157.2 kB / 0.8501 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.5151, allocations: 292.8 kB / 0.8504 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.5152, allocations: 25.7 kB / 0.8504 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.5152, allocations: 145.4 kB / 0.8505 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.5153, allocations: 48.08 kB / 0.8506 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.5154, allocations: 41.27 kB / 0.8506 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.5155, allocations: 342.7 kB / 0.8509 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5156, allocations: 66.5 kB / 0.851 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.5158, allocations: 151.1 kB / 0.8512 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.5161, allocations: 211.8 kB / 0.8514 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5161, allocations: 0 / 0.8514 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004358/0.5166, allocations: 245.9 kB / 0.8516 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5166, allocations: 5.719 kB / 0.8516 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5166, allocations: 6.156 kB / 0.8516 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5166, allocations: 2.531 kB / 0.8516 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5168, allocations: 37.03 kB / 0.8516 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5168, allocations: 2.375 kB / 0.8516 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.517, allocations: 30.59 kB / 0.8517 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.517, allocations: 19.02 kB / 0.8517 GB, free: 9 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.0001204/0.5172, allocations: 147.5 kB / 0.8518 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.5173, allocations: 30.12 kB / 0.8519 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.5177, allocations: 192.7 kB / 0.852 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5177, allocations: 0 / 0.852 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5177, allocations: 2.781 kB / 0.852 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5177, allocations: 384 / 0.852 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007992/0.5186, allocations: 0.8544 MB / 0.8529 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5186, allocations: 1.875 kB / 0.8529 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.5187, allocations: 31.73 kB / 0.8529 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5187, allocations: 7.875 kB / 0.8529 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5187, allocations: 2.156 kB / 0.8529 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5187, allocations: 2.406 kB / 0.8529 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5187, allocations: 2.344 kB / 0.8529 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.5192, allocations: 340.7 kB / 0.8533 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.5193, allocations: 120.5 kB / 0.8534 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.5193, allocations: 6.547 kB / 0.8534 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.5195, allocations: 9.281 kB / 0.8534 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.5195, allocations: 13.48 kB / 0.8534 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5195, allocations: 2.375 kB / 0.8534 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001887/0.5197, allocations: 234.7 kB / 0.8536 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5197, allocations: 0 / 0.8536 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004012/0.5201, allocations: 97.83 kB / 0.8537 GB, free: 7.301 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.001008/0.5212, allocations: 0.9744 MB / 0.8547 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.5215, allocations: 155 kB / 0.8548 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5215, allocations: 192 / 0.8548 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.5216, allocations: 56.31 kB / 0.8549 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.5223, allocations: 148.7 kB / 0.855 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.5251, allocations: 2.823 MB / 0.8578 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.5254, allocations: 0.7582 MB / 0.8585 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.5256, allocations: 55.11 kB / 0.8586 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.5257, allocations: 84.75 kB / 0.8586 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5257, allocations: 0 / 0.8586 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.703/2.229, allocations: 8.222 MB / 0.8667 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/2.229, allocations: 259.6 kB / 0.8669 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/4.424, allocations: 0 / 0.8669 GB, free: 14.99 MB / 0.5919 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)