Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.001732/0.001732, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8396/0.8396, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009449, allocations: 89.52 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.804e-05, allocations: 6.438 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2019, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.54/1.742, allocations: 419.1 MB / 1.05 GB, free: 174 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.743, allocations: 75.97 kB / 1.05 GB, free: 174 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08628/1.829, allocations: 36.72 MB / 1.086 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/1.829, allocations: 8 kB / 1.086 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.763e-06/1.829, allocations: 0 / 1.086 GB, free: 143.3 MB / 0.6823 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.0006618/1.83, allocations: 366.3 kB / 1.086 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.83, allocations: 8.031 kB / 1.086 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/1.83, allocations: 37.19 kB / 1.086 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/1.83, allocations: 19.84 kB / 1.086 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/1.83, allocations: 159.1 kB / 1.086 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/1.83, allocations: 7 kB / 1.086 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/1.83, allocations: 8 kB / 1.086 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/1.83, allocations: 54.73 kB / 1.086 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.83, allocations: 0 / 1.086 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.83, allocations: 4 kB / 1.086 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/1.83, allocations: 3.938 kB / 1.086 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/1.83, allocations: 23.92 kB / 1.086 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/1.831, allocations: 175.6 kB / 1.087 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/1.831, allocations: 37.7 kB / 1.087 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/1.831, allocations: 20.05 kB / 1.087 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00991/1.841, allocations: 3.151 MB / 1.09 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/1.841, allocations: 42.06 kB / 1.09 GB, free: 139 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/1.841, allocations: 0 / 1.09 GB, free: 139 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02892/1.87, allocations: 13.44 MB / 1.103 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/1.87, allocations: 51.41 kB / 1.103 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/1.87, allocations: 92.42 kB / 1.103 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/1.87, allocations: 29.7 kB / 1.103 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/1.87, allocations: 84.27 kB / 1.103 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/1.87, allocations: 37.27 kB / 1.103 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/1.87, allocations: 3.438 kB / 1.103 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/1.87, allocations: 310.8 kB / 1.103 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/1.87, allocations: 22.31 kB / 1.103 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.733e-05/1.87, allocations: 18.12 kB / 1.103 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.064e-05/1.87, allocations: 29.86 kB / 1.103 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/1.87, allocations: 0 / 1.103 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002041/1.87, allocations: 102.7 kB / 1.104 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.87, allocations: 12 kB / 1.104 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.87, allocations: 0 / 1.104 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.87, allocations: 0 / 1.104 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/1.871, allocations: 27.92 kB / 1.104 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/1.871, allocations: 3.953 kB / 1.104 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/1.871, allocations: 11.3 kB / 1.104 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.871, allocations: 4 kB / 1.104 GB, free: 124.7 MB / 0.6823 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.561e-05/1.871, allocations: 107.8 kB / 1.104 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/1.871, allocations: 4 kB / 1.104 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/1.871, allocations: 127.7 kB / 1.104 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.871, allocations: 0 / 1.104 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.871, allocations: 0 / 1.104 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.871, allocations: 3.953 kB / 1.104 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/1.871, allocations: 178.3 kB / 1.104 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.871, allocations: 3.938 kB / 1.104 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/1.871, allocations: 26.42 kB / 1.104 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.871, allocations: 0 / 1.104 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.871, allocations: 7.984 kB / 1.104 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.871, allocations: 0 / 1.104 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.871, allocations: 0 / 1.104 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/1.872, allocations: 148.6 kB / 1.104 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/1.872, allocations: 97.44 kB / 1.104 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/1.872, allocations: 5.688 kB / 1.104 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.872, allocations: 13.3 kB / 1.104 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/1.872, allocations: 7.984 kB / 1.104 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/1.872, allocations: 5.312 kB / 1.104 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.283e-05/1.872, allocations: 76.09 kB / 1.104 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.393e-06/1.872, allocations: 4.094 kB / 1.104 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00246/1.874, allocations: 0.6115 MB / 1.105 GB, free: 123.3 MB / 0.6823 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.005075/1.879, allocations: 1.33 MB / 1.106 GB, free: 122 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002427/1.88, allocations: 67.56 kB / 1.106 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.88, allocations: 0 / 1.106 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/1.88, allocations: 38.05 kB / 1.106 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/1.88, allocations: 12.45 kB / 1.106 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/1.882, allocations: 412.5 kB / 1.107 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/1.882, allocations: 0.6926 MB / 1.107 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00011/1.882, allocations: 24.53 kB / 1.108 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/1.882, allocations: 19.12 kB / 1.108 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/1.882, allocations: 0 / 1.108 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05618/1.939, allocations: 31.78 MB / 1.139 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/1.939, allocations: 132.8 kB / 1.139 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/4.929, allocations: 3.938 kB / 1.139 GB, free: 88.74 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)