Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_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.001105/0.001104, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001523/0.001524, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.759/2.759, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004132, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9619/0.9623, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1817/1.144, allocations: 137 MB / 1.115 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005346/1.149, allocations: 3.583 MB / 1.118 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/1.15, allocations: 7.938 kB / 1.118 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007483/1.151, allocations: 155.2 kB / 1.118 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/1.152, allocations: 362.9 kB / 1.119 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/1.154, allocations: 0.5784 MB / 1.119 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005544/1.154, allocations: 343.7 kB / 1.12 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/1.155, allocations: 173.2 kB / 1.12 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000829/1.155, allocations: 323.1 kB / 1.12 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/1.156, allocations: 227.2 kB / 1.12 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/1.156, allocations: 12 kB / 1.12 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/1.157, allocations: 435.3 kB / 1.121 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/1.157, allocations: 75.8 kB / 1.121 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/1.157, allocations: 69.58 kB / 1.121 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005767/1.158, allocations: 351.2 kB / 1.121 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/1.158, allocations: 0 / 1.121 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.535e-06/1.158, allocations: 0 / 1.121 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.323e-06/1.158, allocations: 0 / 1.121 GB, free: 6.332 MB / 0.8731 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.0008995/1.159, allocations: 0.5412 MB / 1.122 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.159, allocations: 12.03 kB / 1.122 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/1.159, allocations: 50.55 kB / 1.122 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007424/1.16, allocations: 79.56 kB / 1.122 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/1.16, allocations: 263.6 kB / 1.122 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.16, allocations: 20 kB / 1.122 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/1.16, allocations: 27.97 kB / 1.122 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/1.161, allocations: 291.3 kB / 1.122 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.161, allocations: 4 kB / 1.122 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/1.161, allocations: 12 kB / 1.122 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.161, allocations: 4 kB / 1.122 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/1.161, allocations: 215.5 kB / 1.123 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/1.163, allocations: 1.261 MB / 1.124 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/1.163, allocations: 192.9 kB / 1.124 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/1.164, allocations: 141 kB / 1.124 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/1.164, allocations: 34.56 kB / 1.124 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/1.164, allocations: 7.938 kB / 1.124 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0008511/1.165, allocations: 329.7 kB / 1.124 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/1.165, allocations: 162.2 kB / 1.125 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/1.165, allocations: 283 kB / 1.125 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/1.165, allocations: 29.7 kB / 1.125 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/1.165, allocations: 151.8 kB / 1.125 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/1.165, allocations: 39.36 kB / 1.125 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/1.165, allocations: 4 kB / 1.125 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.165, allocations: 338.8 kB / 1.125 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/1.166, allocations: 83.94 kB / 1.126 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/1.166, allocations: 160.5 kB / 1.126 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/1.166, allocations: 103.9 kB / 1.126 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.166, allocations: 0 / 1.126 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005776/1.167, allocations: 281.2 kB / 1.126 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.167, allocations: 5.719 kB / 1.126 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.167, allocations: 4 kB / 1.126 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.167, allocations: 4 kB / 1.126 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/1.167, allocations: 39.97 kB / 1.126 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.167, allocations: 3.938 kB / 1.126 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/1.167, allocations: 39.67 kB / 1.126 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/1.167, allocations: 12.09 kB / 1.126 GB, free: 0.7852 MB / 0.8731 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.0001685/1.168, allocations: 149.8 kB / 1.126 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.168, allocations: 31.73 kB / 1.126 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/1.168, allocations: 216.5 kB / 1.127 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.168, allocations: 4 kB / 1.127 GB, free: 380 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/1.168, allocations: 3.938 kB / 1.127 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.168, allocations: 8 kB / 1.127 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/1.17, allocations: 0.925 MB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.17, allocations: 4 kB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/1.17, allocations: 31.97 kB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.17, allocations: 4 kB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.17, allocations: 4 kB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.17, allocations: 3.938 kB / 1.127 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.17, allocations: 7.953 kB / 1.127 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/1.17, allocations: 484 kB / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.171, allocations: 120.9 kB / 1.128 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/1.171, allocations: 11.94 kB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.171, allocations: 12 kB / 1.128 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/1.171, allocations: 11.94 kB / 1.128 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/1.171, allocations: 11.98 kB / 1.128 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002504/1.171, allocations: 213.9 kB / 1.128 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.9e-07/1.171, allocations: 0 / 1.128 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005102/1.172, allocations: 103.9 kB / 1.128 GB, free: 14.28 MB / 0.8887 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 (12): * Single equations (assignments): 12 * 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.001502/1.173, allocations: 1.45 MB / 1.13 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004652/1.174, allocations: 187.8 kB / 1.13 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.174, allocations: 0 / 1.13 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/1.174, allocations: 89.03 kB / 1.13 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/1.175, allocations: 139.3 kB / 1.13 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/1.178, allocations: 2.853 MB / 1.133 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/1.178, allocations: 0.7599 MB / 1.134 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002443/1.178, allocations: 70.94 kB / 1.134 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.178, allocations: 75.41 kB / 1.134 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of SimCode: time 6.22e-07/1.178, allocations: 0 / 1.134 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/1.201, allocations: 8.078 MB / 1.142 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/1.202, allocations: 230.5 kB / 1.142 GB, free: 368 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.435, allocations: 0 / 1.142 GB, free: 368 kB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat does not exist to compare? outputFormat=mat