Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5019/0.5019, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.5 MB / 343.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 99.19 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.165e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1648, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.38/4.545, allocations: 1.82 GB / 2.373 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/4.545, allocations: 79.95 kB / 2.373 GB, free: 114 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7851/5.33, allocations: 221.7 MB / 2.59 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/5.33, allocations: 0 / 2.59 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.549e-05/5.33, allocations: 11.94 kB / 2.59 GB, free: 136.4 MB / 0.6042 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.00126/5.331, allocations: 0.625 MB / 2.59 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/5.331, allocations: 8.031 kB / 2.59 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007016/5.332, allocations: 73.89 kB / 2.59 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/5.332, allocations: 290.8 kB / 2.591 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/5.333, allocations: 11.94 kB / 2.591 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/5.333, allocations: 19.95 kB / 2.591 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002751/5.333, allocations: 145.4 kB / 2.591 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/5.333, allocations: 235 kB / 2.591 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/5.333, allocations: 0 / 2.591 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/5.333, allocations: 4 kB / 2.591 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/5.333, allocations: 12 kB / 2.591 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/5.335, allocations: 1.441 MB / 2.593 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/5.335, allocations: 133.1 kB / 2.593 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/5.335, allocations: 64.41 kB / 2.593 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/5.336, allocations: 121.1 kB / 2.593 GB, free: 133 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/5.336, allocations: 42.5 kB / 2.593 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/5.336, allocations: 0 / 2.593 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004592/5.336, allocations: 133.3 kB / 2.593 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/5.336, allocations: 166.3 kB / 2.593 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/5.336, allocations: 204 kB / 2.593 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/5.336, allocations: 29.7 kB / 2.593 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/5.336, allocations: 163.9 kB / 2.594 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/5.336, allocations: 39.45 kB / 2.594 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/5.336, allocations: 0 / 2.594 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/5.337, allocations: 326.8 kB / 2.594 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/5.337, allocations: 47.97 kB / 2.594 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/5.337, allocations: 135.5 kB / 2.594 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/5.337, allocations: 90.98 kB / 2.594 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/5.337, allocations: 4 kB / 2.594 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004399/5.337, allocations: 205.3 kB / 2.594 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/5.337, allocations: 4.25 kB / 2.594 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/5.337, allocations: 8 kB / 2.594 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/5.337, allocations: 4 kB / 2.594 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/5.338, allocations: 43.91 kB / 2.594 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/5.338, allocations: 12 kB / 2.594 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/5.338, allocations: 27.78 kB / 2.594 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/5.338, allocations: 12 kB / 2.595 GB, free: 131.2 MB / 0.6042 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 () * 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 8.173e-05/5.338, allocations: 112.9 kB / 2.595 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003688/5.338, allocations: 141.2 kB / 2.595 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/5.339, allocations: 15.81 kB / 2.595 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/5.339, allocations: 111.5 kB / 2.595 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/5.339, allocations: 11.89 kB / 2.595 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/5.339, allocations: 0 / 2.595 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/5.339, allocations: 0 / 2.595 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/5.34, allocations: 0.8003 MB / 2.596 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/5.34, allocations: 3.984 kB / 2.596 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/5.34, allocations: 31.88 kB / 2.596 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/5.34, allocations: 8.156 kB / 2.596 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/5.34, allocations: 0 / 2.596 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/5.34, allocations: 4 kB / 2.596 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/5.34, allocations: 0 / 2.596 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/5.34, allocations: 352 kB / 2.596 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/5.34, allocations: 112.9 kB / 2.596 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/5.34, allocations: 4 kB / 2.596 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/5.341, allocations: 20 kB / 2.596 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/5.341, allocations: 15.92 kB / 2.596 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/5.341, allocations: 4 kB / 2.596 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001138/5.341, allocations: 160.5 kB / 2.596 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/5.341, allocations: 0 / 2.596 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007187/5.341, allocations: 171.7 kB / 2.597 GB, free: 129 MB / 0.6042 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 () * 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.002322/5.344, allocations: 2.293 MB / 2.599 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002197/5.344, allocations: 103.9 kB / 2.599 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/5.344, allocations: 0 / 2.599 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/5.344, allocations: 55.8 kB / 2.599 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/5.345, allocations: 62.8 kB / 2.599 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/5.346, allocations: 439.3 kB / 2.599 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/5.346, allocations: 0.7633 MB / 2.6 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001775/5.346, allocations: 49.91 kB / 2.6 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/5.346, allocations: 71.42 kB / 2.6 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/5.346, allocations: 0 / 2.6 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/5.381, allocations: 13.18 MB / 2.613 GB, free: 112 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/5.381, allocations: 163 kB / 2.613 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/7.455, allocations: 3.938 kB / 2.613 GB, free: 111.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)