Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.427/1.427, allocations: 287.4 MB / 302.6 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008211/0.0008212, allocations: 173.6 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007068/0.0007069, allocations: 96.8 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 12.5 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5834/0.7701, allocations: 148.2 MB / 1.123 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005726/0.7758, allocations: 4.267 MB / 1.128 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.7763, allocations: 11.55 kB / 1.128 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.7768, allocations: 84.88 kB / 1.128 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.7783, allocations: 379.2 kB / 1.128 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.7803, allocations: 0.5247 MB / 1.129 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007926/0.7811, allocations: 0.6943 MB / 1.129 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.7814, allocations: 169.9 kB / 1.129 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.7823, allocations: 363.3 kB / 1.13 GB, free: 472 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.7828, allocations: 276.1 kB / 1.13 GB, free: 424 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.7828, allocations: 11.91 kB / 1.13 GB, free: 420 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.784, allocations: 0.5166 MB / 1.131 GB, free: 364 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.7841, allocations: 82.39 kB / 1.131 GB, free: 356 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.7842, allocations: 71.14 kB / 1.131 GB, free: 16.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.7847, allocations: 408 kB / 1.131 GB, free: 16.28 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.7847, allocations: 0 / 1.131 GB, free: 16.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7847, allocations: 0 / 1.131 GB, free: 16.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.7847, allocations: 0 / 1.131 GB, free: 16.28 MB / 0.698 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.0007647/0.7855, allocations: 0.5629 MB / 1.132 GB, free: 15.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7855, allocations: 9.75 kB / 1.132 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.065e-05/0.7856, allocations: 53 kB / 1.132 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.7862, allocations: 79.14 kB / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.7865, allocations: 285.3 kB / 1.132 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.7866, allocations: 14.53 kB / 1.132 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.7866, allocations: 18.59 kB / 1.132 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.7871, allocations: 289.2 kB / 1.132 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7871, allocations: 0 / 1.132 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.7872, allocations: 8.438 kB / 1.132 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.7872, allocations: 13.38 kB / 1.132 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.7876, allocations: 208.6 kB / 1.133 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.7891, allocations: 1.264 MB / 1.134 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.7894, allocations: 181.1 kB / 1.134 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.7896, allocations: 119.7 kB / 1.134 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.7903, allocations: 344 kB / 1.134 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.7904, allocations: 36 kB / 1.134 GB, free: 14.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.7904, allocations: 4 kB / 1.134 GB, free: 14.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0007799/0.7912, allocations: 291.7 kB / 1.135 GB, free: 14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.7913, allocations: 161.4 kB / 1.135 GB, free: 13.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.7916, allocations: 283.4 kB / 1.135 GB, free: 13.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.7917, allocations: 29.02 kB / 1.135 GB, free: 13.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.7918, allocations: 151.1 kB / 1.135 GB, free: 13.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.7919, allocations: 47.7 kB / 1.135 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.7919, allocations: 3.625 kB / 1.135 GB, free: 13.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7921, allocations: 340.2 kB / 1.136 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.7922, allocations: 72.8 kB / 1.136 GB, free: 13.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.7925, allocations: 151.1 kB / 1.136 GB, free: 13.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.7929, allocations: 221 kB / 1.136 GB, free: 13.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7929, allocations: 1.531 kB / 1.136 GB, free: 13.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004829/0.7934, allocations: 256.1 kB / 1.136 GB, free: 13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7934, allocations: 6.156 kB / 1.136 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.7934, allocations: 3.312 kB / 1.136 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.7934, allocations: 2.453 kB / 1.136 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.7936, allocations: 52.83 kB / 1.136 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7936, allocations: 3.125 kB / 1.136 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.7938, allocations: 36.03 kB / 1.137 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.7939, allocations: 15.8 kB / 1.137 GB, free: 12.96 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.794, allocations: 150.3 kB / 1.137 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.7942, allocations: 27.72 kB / 1.137 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000463/0.7946, allocations: 198.1 kB / 1.137 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7946, allocations: 0 / 1.137 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7947, allocations: 6.438 kB / 1.137 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.7947, allocations: 0 / 1.137 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/0.7957, allocations: 0.8687 MB / 1.138 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.7957, allocations: 3.766 kB / 1.138 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.7958, allocations: 34.36 kB / 1.138 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.7958, allocations: 3.938 kB / 1.138 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.7958, allocations: 3.594 kB / 1.138 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.7959, allocations: 3 kB / 1.138 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7959, allocations: 2.438 kB / 1.138 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.7964, allocations: 352 kB / 1.138 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.7965, allocations: 127.8 kB / 1.138 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.7966, allocations: 3.062 kB / 1.138 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.7967, allocations: 8.375 kB / 1.138 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.7968, allocations: 17.69 kB / 1.138 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.7968, allocations: 3.344 kB / 1.138 GB, free: 11.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002124/0.797, allocations: 237.6 kB / 1.139 GB, free: 11.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.797, allocations: 0 / 1.139 GB, free: 11.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003616/0.7974, allocations: 86.11 kB / 1.139 GB, free: 11.7 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.7985, allocations: 0.9908 MB / 1.14 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.7989, allocations: 157.7 kB / 1.14 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7989, allocations: 1.125 kB / 1.14 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.799, allocations: 68.5 kB / 1.14 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.7997, allocations: 116.5 kB / 1.14 GB, free: 10.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.8019, allocations: 1.593 MB / 1.141 GB, free: 10.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.8022, allocations: 0.7572 MB / 1.142 GB, free: 9.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.8024, allocations: 67.02 kB / 1.142 GB, free: 9.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.8025, allocations: 76.64 kB / 1.142 GB, free: 9.488 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.8025, allocations: 0 / 1.142 GB, free: 9.488 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2932/1.096, allocations: 7.929 MB / 1.15 GB, free: 6.312 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.096, allocations: 229.1 kB / 1.15 GB, free: 6.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/3.237, allocations: 0 / 1.15 GB, free: 6.07 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)