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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8835/0.8835, allocations: 143.3 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 181 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 223.2 MB / 447.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.00109, allocations: 92.33 kB / 0.5187 GB, free: 1.086 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 262.5 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004852, allocations: 16.86 kB / 0.6929 GB, free: 59.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.634/5.844, allocations: 1.827 GB / 2.601 GB, free: 192.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/5.845, allocations: 89.61 kB / 2.601 GB, free: 192.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.007/6.852, allocations: 224.9 MB / 2.821 GB, free: 202 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.705e-06/6.852, allocations: 7.156 kB / 2.821 GB, free: 202 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.913e-05/6.852, allocations: 11.08 kB / 2.821 GB, free: 202 MB / 0.7136 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.001712/6.854, allocations: 0.6404 MB / 2.821 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/6.854, allocations: 18.48 kB / 2.821 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/6.854, allocations: 57.61 kB / 2.821 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006575/6.854, allocations: 72.84 kB / 2.822 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/6.855, allocations: 295.8 kB / 2.822 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/6.855, allocations: 16.5 kB / 2.822 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/6.855, allocations: 20.25 kB / 2.822 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/6.856, allocations: 283 kB / 2.822 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/6.856, allocations: 5.438 kB / 2.822 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/6.856, allocations: 7.688 kB / 2.822 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/6.856, allocations: 7.188 kB / 2.822 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/6.856, allocations: 204.8 kB / 2.822 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/6.858, allocations: 1.227 MB / 2.824 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/6.858, allocations: 172.3 kB / 2.824 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000828/6.859, allocations: 336.2 kB / 2.824 GB, free: 200.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/6.859, allocations: 35.84 kB / 2.824 GB, free: 200 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/6.859, allocations: 0 / 2.824 GB, free: 200 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.001005/6.86, allocations: 289 kB / 2.824 GB, free: 200 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/6.86, allocations: 158 kB / 2.824 GB, free: 199.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/6.861, allocations: 257.6 kB / 2.825 GB, free: 199.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/6.861, allocations: 28.02 kB / 2.825 GB, free: 199.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/6.861, allocations: 154.4 kB / 2.825 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/6.861, allocations: 45.47 kB / 2.825 GB, free: 199.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/6.861, allocations: 4.25 kB / 2.825 GB, free: 199.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/6.861, allocations: 334.2 kB / 2.825 GB, free: 199.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/6.861, allocations: 70.31 kB / 2.825 GB, free: 199.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/6.862, allocations: 163.3 kB / 2.825 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/6.862, allocations: 86.23 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/6.862, allocations: 1.281 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006854/6.862, allocations: 253.1 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/6.863, allocations: 5.219 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/6.863, allocations: 2.594 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/6.863, allocations: 7.672 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/6.863, allocations: 45.16 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/6.863, allocations: 3.156 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/6.863, allocations: 29.83 kB / 2.826 GB, free: 199.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/6.863, allocations: 20.05 kB / 2.826 GB, free: 199.1 MB / 0.7136 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.0001766/6.863, allocations: 146.2 kB / 2.826 GB, free: 199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/6.864, allocations: 23.84 kB / 2.826 GB, free: 199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006846/6.864, allocations: 193.8 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/6.864, allocations: 2.75 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/6.864, allocations: 8.375 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/6.864, allocations: 1.938 kB / 2.826 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/6.865, allocations: 0.8456 MB / 2.827 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/6.865, allocations: 8.328 kB / 2.827 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/6.866, allocations: 32.08 kB / 2.827 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/6.866, allocations: 2.344 kB / 2.827 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/6.866, allocations: 4.891 kB / 2.827 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/6.866, allocations: 2.375 kB / 2.827 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/6.866, allocations: 5.094 kB / 2.827 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/6.866, allocations: 405.9 kB / 2.828 GB, free: 198 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/6.866, allocations: 119.2 kB / 2.828 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/6.866, allocations: 13.06 kB / 2.828 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/6.867, allocations: 12.94 kB / 2.828 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/6.867, allocations: 11.41 kB / 2.828 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/6.867, allocations: 6.938 kB / 2.828 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002597/6.867, allocations: 232.7 kB / 2.828 GB, free: 197.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/6.867, allocations: 0 / 2.828 GB, free: 197.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009751/6.868, allocations: 185.3 kB / 2.828 GB, free: 197.8 MB / 0.7136 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.002648/6.871, allocations: 2.23 MB / 2.83 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004426/6.871, allocations: 152.6 kB / 2.83 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/6.871, allocations: 0 / 2.83 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/6.871, allocations: 63.81 kB / 2.83 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/6.872, allocations: 123 kB / 2.831 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/6.875, allocations: 2.756 MB / 2.833 GB, free: 194.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/6.875, allocations: 0.7657 MB / 2.834 GB, free: 194 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002598/6.875, allocations: 68.38 kB / 2.834 GB, free: 194 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/6.875, allocations: 76.47 kB / 2.834 GB, free: 194 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/6.875, allocations: 1 kB / 2.834 GB, free: 194 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06663/6.942, allocations: 23.25 MB / 2.857 GB, free: 193.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/6.942, allocations: 225.2 kB / 2.857 GB, free: 193.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/9.849, allocations: 7.938 kB / 2.857 GB, free: 193.2 MB / 0.7136 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/linux/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)