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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001046/0.001046, allocations: 192.9 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6832/0.6832, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.97 kB / 0.5012 GB, free: 9.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1344, allocations: 80.21 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002092/0.1365, allocations: 1.317 MB / 0.5808 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3535/0.49, allocations: 135.7 MB / 0.7133 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.4901, allocations: 0 / 0.7133 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.4901, allocations: 1.219 kB / 0.7133 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.4902, allocations: 13.98 kB / 0.7133 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009827/0.4912, allocations: 369.7 kB / 0.7137 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.4912, allocations: 36.88 kB / 0.7137 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.028e-05/0.4913, allocations: 7.141 kB / 0.7137 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.4913, allocations: 22.69 kB / 0.7137 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.4914, allocations: 20.48 kB / 0.7138 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.4914, allocations: 1.531 kB / 0.7138 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.4928, allocations: 0.8232 MB / 0.7146 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.4928, allocations: 12.98 kB / 0.7146 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.4929, allocations: 16.89 kB / 0.7146 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.4935, allocations: 452 kB / 0.715 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4935, allocations: 0 / 0.715 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.52e-07/0.4935, allocations: 1.062 kB / 0.715 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4935, allocations: 0 / 0.715 GB, free: 14.55 MB / 0.545 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.0004228/0.4939, allocations: 368 kB / 0.7154 GB, free: 14.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.494, allocations: 9.281 kB / 0.7154 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.494, allocations: 38.14 kB / 0.7154 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.4942, allocations: 16.83 kB / 0.7154 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.4943, allocations: 162.4 kB / 0.7156 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.4943, allocations: 1.688 kB / 0.7156 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.4943, allocations: 17.8 kB / 0.7156 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.4945, allocations: 60.44 kB / 0.7157 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4945, allocations: 0 / 0.7157 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4945, allocations: 5.156 kB / 0.7157 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4945, allocations: 1.219 kB / 0.7157 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.4946, allocations: 22.81 kB / 0.7157 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.4947, allocations: 163.5 kB / 0.7159 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.4948, allocations: 53.39 kB / 0.7159 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.4948, allocations: 17.19 kB / 0.7159 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009805/0.5047, allocations: 3.165 MB / 0.719 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.5047, allocations: 47.41 kB / 0.7191 GB, free: 12.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.5047, allocations: 0 / 0.7191 GB, free: 12.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03682/0.5415, allocations: 14.85 MB / 0.7336 GB, free: 5.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5416, allocations: 55.41 kB / 0.7336 GB, free: 5.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/0.5417, allocations: 97.86 kB / 0.7337 GB, free: 5.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5417, allocations: 25.7 kB / 0.7337 GB, free: 5.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.5417, allocations: 84.14 kB / 0.7338 GB, free: 4.922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.5418, allocations: 43.44 kB / 0.7338 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.5418, allocations: 29.7 kB / 0.7339 GB, free: 4.844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.5419, allocations: 322.8 kB / 0.7342 GB, free: 4.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.5419, allocations: 19.98 kB / 0.7342 GB, free: 4.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.472e-05/0.542, allocations: 27.98 kB / 0.7342 GB, free: 4.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.5421, allocations: 62.05 kB / 0.7343 GB, free: 4.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5421, allocations: 4 kB / 0.7343 GB, free: 4.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001974/0.5423, allocations: 112.1 kB / 0.7344 GB, free: 4.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5424, allocations: 4 kB / 0.7344 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5424, allocations: 0 / 0.7344 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5424, allocations: 4 kB / 0.7344 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.5425, allocations: 23.98 kB / 0.7344 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5425, allocations: 0 / 0.7344 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.5426, allocations: 7.938 kB / 0.7344 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.5426, allocations: 4 kB / 0.7344 GB, free: 4.25 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.5426, allocations: 131.2 kB / 0.7346 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.5427, allocations: 0.5 kB / 0.7346 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.543, allocations: 126.3 kB / 0.7347 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.543, allocations: 0 / 0.7347 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.543, allocations: 4 kB / 0.7347 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.543, allocations: 4 kB / 0.7347 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.5431, allocations: 182.4 kB / 0.7349 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5431, allocations: 0 / 0.7349 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.5432, allocations: 27.92 kB / 0.7349 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5433, allocations: 0 / 0.7349 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5433, allocations: 4 kB / 0.7349 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5433, allocations: 3.812 kB / 0.7349 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5433, allocations: 4 kB / 0.7349 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.5436, allocations: 150.7 kB / 0.7351 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.5436, allocations: 93.05 kB / 0.7351 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.5436, allocations: 4 kB / 0.7351 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.5438, allocations: 15.98 kB / 0.7352 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.5438, allocations: 4 kB / 0.7352 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.5438, allocations: 7.984 kB / 0.7352 GB, free: 3.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.5439, allocations: 83.22 kB / 0.7353 GB, free: 3.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5439, allocations: 8.031 kB / 0.7353 GB, free: 3.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001781/0.5457, allocations: 0.5624 MB / 0.7358 GB, free: 2.754 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003258/0.5489, allocations: 0.9286 MB / 0.7367 GB, free: 1.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.5491, allocations: 79.56 kB / 0.7368 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5491, allocations: 0 / 0.7368 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/0.5492, allocations: 35.92 kB / 0.7368 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.5493, allocations: 12 kB / 0.7368 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.5512, allocations: 1.559 MB / 0.7384 GB, free: 52 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.5514, allocations: 0.6848 MB / 0.739 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.386e-05/0.5515, allocations: 28.53 kB / 0.7391 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.5516, allocations: 19.44 kB / 0.7391 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5516, allocations: 4 kB / 0.7391 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4966/1.048, allocations: 25.24 MB / 0.7637 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003721/1.049, allocations: 182.8 kB / 0.7639 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.591, allocations: 0 / 0.7639 GB, free: 5.941 MB / 0.5762 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/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)