Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",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.001518/0.001517, allocations: 180.9 kB / 8.006 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.5134/0.5134, allocations: 90.91 MB / 99.34 MB, free: 2.164 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.439/1.439, allocations: 221.5 MB / 343.2 MB, free: 1.59 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.0009441/0.000944, allocations: 100.7 kB / 416 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/1.999e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.416, allocations: 408.7 MB / 0.9527 GB, free: 70.11 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.416, allocations: 66.47 kB / 0.9527 GB, free: 70.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.07943/1.495, allocations: 36.19 MB / 0.9881 GB, free: 38.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.299e-05/1.495, allocations: 0 / 0.9881 GB, free: 38.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.744e-06/1.495, allocations: 0 / 0.9881 GB, free: 38.39 MB / 0.5886 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.0005485/1.496, allocations: 381.8 kB / 0.9884 GB, free: 37.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.496, allocations: 12.03 kB / 0.9885 GB, free: 37.97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/1.496, allocations: 8 kB / 0.9885 GB, free: 37.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.949e-05/1.496, allocations: 163.1 kB / 0.9886 GB, free: 37.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/1.496, allocations: 4 kB / 0.9886 GB, free: 37.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/1.496, allocations: 4 kB / 0.9886 GB, free: 37.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.367e-05/1.496, allocations: 15.98 kB / 0.9886 GB, free: 37.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.099e-05/1.497, allocations: 53.58 kB / 0.9887 GB, free: 37.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/1.497, allocations: 0 / 0.9887 GB, free: 37.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/1.497, allocations: 4 kB / 0.9887 GB, free: 37.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.497, allocations: 4 kB / 0.9887 GB, free: 37.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/1.497, allocations: 142.2 kB / 0.9888 GB, free: 37.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.689e-05/1.497, allocations: 42.56 kB / 0.9889 GB, free: 37.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/1.497, allocations: 16.86 kB / 0.9889 GB, free: 37.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00935/1.506, allocations: 3.147 MB / 0.992 GB, free: 34.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/1.506, allocations: 30.56 kB / 0.992 GB, free: 34.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.506, allocations: 0 / 0.992 GB, free: 34.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.02801/1.534, allocations: 13.4 MB / 1.005 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/1.534, allocations: 51.41 kB / 1.005 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/1.534, allocations: 92.94 kB / 1.005 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/1.534, allocations: 25.7 kB / 1.005 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/1.535, allocations: 80.14 kB / 1.005 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/1.535, allocations: 39.45 kB / 1.005 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/1.535, allocations: 0 / 1.005 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/1.535, allocations: 315 kB / 1.006 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/1.535, allocations: 24 kB / 1.006 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/1.535, allocations: 16 kB / 1.006 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/1.535, allocations: 27.98 kB / 1.006 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.535, allocations: 0 / 1.006 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001884/1.535, allocations: 89.58 kB / 1.006 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.535, allocations: 4.938 kB / 1.006 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.535, allocations: 0 / 1.006 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.535, allocations: 7.953 kB / 1.006 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.535, allocations: 27.92 kB / 1.006 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.535, allocations: 4 kB / 1.006 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/1.535, allocations: 4 kB / 1.006 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/1.535, allocations: 7.938 kB / 1.006 GB, free: 19.76 MB / 0.5886 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 6.174e-05/1.535, allocations: 105 kB / 1.006 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001979/1.536, allocations: 81.61 kB / 1.006 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/1.536, allocations: 7.859 kB / 1.006 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/1.536, allocations: 117.9 kB / 1.006 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.536, allocations: 7.938 kB / 1.006 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.536, allocations: 3.938 kB / 1.006 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.536, allocations: 0 / 1.006 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/1.536, allocations: 150.2 kB / 1.006 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.536, allocations: 0 / 1.006 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/1.536, allocations: 23.98 kB / 1.006 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.536, allocations: 0 / 1.006 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/1.536, allocations: 4 kB / 1.006 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/1.536, allocations: 7.953 kB / 1.006 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.536, allocations: 0 / 1.006 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/1.536, allocations: 142.8 kB / 1.006 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/1.536, allocations: 97.03 kB / 1.007 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/1.536, allocations: 0 / 1.007 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/1.537, allocations: 12 kB / 1.007 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/1.537, allocations: 15.88 kB / 1.007 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.537, allocations: 7.984 kB / 1.007 GB, free: 18.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.698e-05/1.537, allocations: 79.28 kB / 1.007 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/1.537, allocations: 0 / 1.007 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002281/1.539, allocations: 0.6013 MB / 1.007 GB, free: 18.22 MB / 0.5886 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.004636/1.544, allocations: 1.393 MB / 1.009 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001411/1.544, allocations: 64.98 kB / 1.009 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.544, allocations: 0 / 1.009 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/1.544, allocations: 24 kB / 1.009 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/1.544, allocations: 3.953 kB / 1.009 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/1.546, allocations: 406.4 kB / 1.009 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/1.546, allocations: 0.6924 MB / 1.01 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.651e-05/1.546, allocations: 24.55 kB / 1.01 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/1.546, allocations: 31.36 kB / 1.01 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/1.546, allocations: 0 / 1.01 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0535/1.599, allocations: 25.37 MB / 1.035 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/1.6, allocations: 138.3 kB / 1.035 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/4.052, allocations: 0 / 1.035 GB, free: 5.883 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)