Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.561/1.561, allocations: 288.4 MB / 303.6 MB, free: 8.109 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.001146/0.001146, allocations: 186.5 kB / 372.3 MB, free: 10.14 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.356/1.356, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0008636/0.0008637, allocations: 90.3 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 16.41 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2038, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.59/0.7939, allocations: 148.2 MB / 1.125 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004286/0.7983, allocations: 4.247 MB / 1.129 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.7985, allocations: 12.84 kB / 1.129 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.7989, allocations: 88.48 kB / 1.129 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.8, allocations: 494.9 kB / 1.13 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.8014, allocations: 0.6608 MB / 1.13 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.802, allocations: 0.6925 MB / 1.131 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.8023, allocations: 171 kB / 1.131 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.803, allocations: 410.1 kB / 1.132 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.8035, allocations: 268 kB / 1.132 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.8036, allocations: 9.906 kB / 1.132 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.8051, allocations: 1.146 MB / 1.133 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.022e-05/0.8052, allocations: 87.86 kB / 1.133 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.8053, allocations: 135.8 kB / 1.133 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.8058, allocations: 0.4926 MB / 1.134 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8058, allocations: 2.391 kB / 1.134 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8058, allocations: 0.9375 kB / 1.134 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8059, allocations: 0 / 1.134 GB, free: 0.8789 MB / 0.6823 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.0007943/0.8067, allocations: 0.5537 MB / 1.134 GB, free: 16.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.8067, allocations: 10.22 kB / 1.134 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.8068, allocations: 51.09 kB / 1.134 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005664/0.8073, allocations: 76.22 kB / 1.134 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.8077, allocations: 286.6 kB / 1.135 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.8077, allocations: 13.12 kB / 1.135 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.8077, allocations: 21.78 kB / 1.135 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.8081, allocations: 295.8 kB / 1.135 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.8082, allocations: 0 / 1.135 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.8082, allocations: 8.375 kB / 1.135 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.8082, allocations: 13.19 kB / 1.135 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.8086, allocations: 212.9 kB / 1.135 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.8099, allocations: 1.264 MB / 1.136 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.8102, allocations: 185.9 kB / 1.137 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.8103, allocations: 122.9 kB / 1.137 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/0.8111, allocations: 342.7 kB / 1.137 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.8111, allocations: 37.25 kB / 1.137 GB, free: 14.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.8111, allocations: 0 / 1.137 GB, free: 14.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0006873/0.8118, allocations: 292.8 kB / 1.137 GB, free: 14.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.8119, allocations: 160.7 kB / 1.137 GB, free: 14.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.8121, allocations: 284.4 kB / 1.138 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.8122, allocations: 31.8 kB / 1.138 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.8122, allocations: 143.7 kB / 1.138 GB, free: 14.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.8123, allocations: 49.48 kB / 1.138 GB, free: 14.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.8123, allocations: 6.125 kB / 1.138 GB, free: 14.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8124, allocations: 338.3 kB / 1.138 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.8126, allocations: 76.72 kB / 1.138 GB, free: 13.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.8128, allocations: 147 kB / 1.138 GB, free: 13.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.8131, allocations: 221.4 kB / 1.139 GB, free: 13.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8131, allocations: 1.859 kB / 1.139 GB, free: 13.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004477/0.8136, allocations: 252.6 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8136, allocations: 8.141 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8136, allocations: 0 / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8136, allocations: 2.719 kB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8138, allocations: 43.73 kB / 1.139 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8138, allocations: 5.75 kB / 1.139 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.814, allocations: 40.41 kB / 1.139 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.8141, allocations: 14.31 kB / 1.139 GB, free: 13.56 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.0001311/0.8142, allocations: 151.2 kB / 1.139 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.8144, allocations: 23.22 kB / 1.139 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.8148, allocations: 208.8 kB / 1.139 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.8148, allocations: 1.875 kB / 1.139 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8148, allocations: 0 / 1.139 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.8148, allocations: 4.219 kB / 1.139 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008535/0.8157, allocations: 0.8689 MB / 1.14 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8157, allocations: 1.719 kB / 1.14 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.8158, allocations: 30.83 kB / 1.14 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.8159, allocations: 6.781 kB / 1.14 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.8159, allocations: 6.094 kB / 1.14 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.8159, allocations: 4.703 kB / 1.14 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8159, allocations: 1.594 kB / 1.14 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.8164, allocations: 351.2 kB / 1.141 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.8165, allocations: 124.8 kB / 1.141 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.8166, allocations: 6.656 kB / 1.141 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.8167, allocations: 13.19 kB / 1.141 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.8168, allocations: 19.11 kB / 1.141 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.8168, allocations: 4.125 kB / 1.141 GB, free: 12.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00021/0.817, allocations: 232 kB / 1.141 GB, free: 12.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.817, allocations: 0 / 1.141 GB, free: 12.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004055/0.8175, allocations: 96.64 kB / 1.141 GB, free: 12.28 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.001145/0.8186, allocations: 0.9953 MB / 1.142 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.819, allocations: 162.6 kB / 1.142 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.819, allocations: 0 / 1.142 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.8192, allocations: 64.88 kB / 1.142 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.8199, allocations: 125.5 kB / 1.142 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.8222, allocations: 1.591 MB / 1.144 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.8225, allocations: 0.7617 MB / 1.145 GB, free: 9.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.8227, allocations: 66.2 kB / 1.145 GB, free: 9.738 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.8228, allocations: 72.73 kB / 1.145 GB, free: 9.723 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.8228, allocations: 0 / 1.145 GB, free: 9.723 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4357/1.258, allocations: 8.018 MB / 1.153 GB, free: 5.828 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/1.259, allocations: 228.4 kB / 1.153 GB, free: 5.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/3.259, allocations: 4 kB / 1.153 GB, free: 5.586 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)