Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",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.7695/0.7695, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 186.6 kB / 187.3 MB, free: 11.88 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.528/1.528, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009854/0.0009857, allocations: 103.9 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001886, allocations: 278 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.083e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.5405, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8634/1.404, allocations: 416.4 MB / 1.171 GB, free: 7.801 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.404, allocations: 73.19 kB / 1.171 GB, free: 7.766 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5365/1.941, allocations: 36.73 MB / 1.207 GB, free: 238.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/1.941, allocations: 0 / 1.207 GB, free: 238.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.941, allocations: 0 / 1.207 GB, free: 238.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006214/1.942, allocations: 378.5 kB / 1.207 GB, free: 238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.942, allocations: 11.88 kB / 1.207 GB, free: 238 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/1.942, allocations: 30.56 kB / 1.207 GB, free: 237.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/1.942, allocations: 15.56 kB / 1.207 GB, free: 237.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/1.942, allocations: 159.1 kB / 1.208 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/1.942, allocations: 7.969 kB / 1.208 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/1.942, allocations: 7.875 kB / 1.208 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/1.942, allocations: 60.89 kB / 1.208 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.942, allocations: 0 / 1.208 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.942, allocations: 7.969 kB / 1.208 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/1.942, allocations: 3.953 kB / 1.208 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/1.942, allocations: 19.66 kB / 1.208 GB, free: 237.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/1.942, allocations: 161 kB / 1.208 GB, free: 237.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/1.943, allocations: 46.31 kB / 1.208 GB, free: 237.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/1.943, allocations: 16.8 kB / 1.208 GB, free: 237.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009782/1.952, allocations: 3.152 MB / 1.211 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.952, allocations: 38.5 kB / 1.211 GB, free: 236.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/1.952, allocations: 0 / 1.211 GB, free: 236.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.02936/1.982, allocations: 13.45 MB / 1.224 GB, free: 230.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/1.982, allocations: 59.16 kB / 1.224 GB, free: 230.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/1.982, allocations: 85 kB / 1.224 GB, free: 230.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/1.982, allocations: 29.7 kB / 1.224 GB, free: 230.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/1.982, allocations: 84.14 kB / 1.224 GB, free: 230.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/1.982, allocations: 39.08 kB / 1.224 GB, free: 230.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/1.982, allocations: 4 kB / 1.224 GB, free: 230.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/1.982, allocations: 315 kB / 1.225 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/1.982, allocations: 24 kB / 1.225 GB, free: 230.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.817e-05/1.982, allocations: 19.84 kB / 1.225 GB, free: 230.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/1.982, allocations: 26.97 kB / 1.225 GB, free: 230.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.982, allocations: 0 / 1.225 GB, free: 230.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002036/1.983, allocations: 101.3 kB / 1.225 GB, free: 230 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.983, allocations: 8 kB / 1.225 GB, free: 230 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.983, allocations: 0 / 1.225 GB, free: 230 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/1.983, allocations: 3.953 kB / 1.225 GB, free: 229.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.983, allocations: 27.94 kB / 1.225 GB, free: 229.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/1.983, allocations: 0 / 1.225 GB, free: 229.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/1.983, allocations: 4 kB / 1.225 GB, free: 229.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/1.983, allocations: 4 kB / 1.225 GB, free: 229.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.237e-05/1.983, allocations: 116.9 kB / 1.225 GB, free: 229.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/1.983, allocations: 7.906 kB / 1.225 GB, free: 229.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/1.983, allocations: 124.8 kB / 1.225 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/1.983, allocations: 3.891 kB / 1.225 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.983, allocations: 3.953 kB / 1.225 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.983, allocations: 0 / 1.225 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/1.983, allocations: 169.1 kB / 1.225 GB, free: 229.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/1.983, allocations: 0 / 1.225 GB, free: 229.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/1.984, allocations: 27.78 kB / 1.225 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.984, allocations: 4 kB / 1.225 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.984, allocations: 4 kB / 1.225 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.984, allocations: 0 / 1.225 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.984, allocations: 0 / 1.225 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/1.984, allocations: 148.4 kB / 1.225 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/1.984, allocations: 96.56 kB / 1.226 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/1.984, allocations: 8 kB / 1.226 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.984, allocations: 15.66 kB / 1.226 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/1.984, allocations: 7.75 kB / 1.226 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/1.984, allocations: 7.938 kB / 1.226 GB, free: 229.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.918e-05/1.984, allocations: 87.17 kB / 1.226 GB, free: 229.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/1.984, allocations: 0 / 1.226 GB, free: 229.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002372/1.987, allocations: 0.6047 MB / 1.226 GB, free: 228.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.004924/1.992, allocations: 1.331 MB / 1.228 GB, free: 227.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001686/1.992, allocations: 60.14 kB / 1.228 GB, free: 227.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.992, allocations: 0 / 1.228 GB, free: 227.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.64e-05/1.992, allocations: 47.62 kB / 1.228 GB, free: 227.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/1.992, allocations: 4 kB / 1.228 GB, free: 227.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/1.994, allocations: 420.8 kB / 1.228 GB, free: 226.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/1.994, allocations: 0.6883 MB / 1.229 GB, free: 226.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.604e-05/1.994, allocations: 20.55 kB / 1.229 GB, free: 226 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/1.994, allocations: 23.14 kB / 1.229 GB, free: 226 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/1.994, allocations: 0 / 1.229 GB, free: 226 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/2.048, allocations: 31.84 MB / 1.26 GB, free: 203.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/2.049, allocations: 152.3 kB / 1.26 GB, free: 203.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/4.775, allocations: 0 / 1.26 GB, free: 203.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)