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.00115/0.00115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7568/0.7568, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001852, allocations: 58.52 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4055, allocations: 80.21 MB / 0.5802 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002186/0.4077, allocations: 1.26 MB / 0.5814 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.146/0.5537, allocations: 137.7 MB / 0.7159 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.5538, allocations: 0 / 0.7159 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.5538, allocations: 3.938 kB / 0.7159 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.5539, allocations: 4 kB / 0.7159 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.555, allocations: 478.1 kB / 0.7164 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.5551, allocations: 47.77 kB / 0.7164 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.886e-05/0.5551, allocations: 0 / 0.7164 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.5552, allocations: 19.98 kB / 0.7164 GB, free: 5.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.5553, allocations: 23.91 kB / 0.7165 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.5553, allocations: 0 / 0.7165 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.5566, allocations: 0.8075 MB / 0.7172 GB, free: 4.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.5566, allocations: 11.98 kB / 0.7173 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.5567, allocations: 23.92 kB / 0.7173 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.5572, allocations: 445.4 kB / 0.7177 GB, free: 4.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5572, allocations: 0 / 0.7177 GB, free: 4.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5572, allocations: 0 / 0.7177 GB, free: 4.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5572, allocations: 0 / 0.7177 GB, free: 4.082 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.0004375/0.5577, allocations: 367.4 kB / 0.7181 GB, free: 3.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5577, allocations: 12.03 kB / 0.7181 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.5578, allocations: 34.73 kB / 0.7181 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.5579, allocations: 16.94 kB / 0.7181 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.558, allocations: 168.3 kB / 0.7183 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.558, allocations: 4.375 kB / 0.7183 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.5581, allocations: 11.84 kB / 0.7183 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.5582, allocations: 53.67 kB / 0.7183 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.5582, allocations: 0 / 0.7183 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5582, allocations: 3.984 kB / 0.7183 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5582, allocations: 0 / 0.7183 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.842e-05/0.5583, allocations: 23.97 kB / 0.7184 GB, free: 3.301 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.5585, allocations: 165.7 kB / 0.7185 GB, free: 3.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.5586, allocations: 58.44 kB / 0.7186 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.5586, allocations: 20.84 kB / 0.7186 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.5701, allocations: 3.174 MB / 0.7217 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.5702, allocations: 34.56 kB / 0.7217 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.5702, allocations: 0 / 0.7217 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.04256/0.6128, allocations: 14.85 MB / 0.7362 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.6128, allocations: 51.41 kB / 0.7363 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.6129, allocations: 89.86 kB / 0.7364 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.6129, allocations: 33.7 kB / 0.7364 GB, free: 500 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.613, allocations: 84.2 kB / 0.7365 GB, free: 412 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.613, allocations: 43.39 kB / 0.7365 GB, free: 368 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.6131, allocations: 33.7 kB / 0.7366 GB, free: 328 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6132, allocations: 318.8 kB / 0.7369 GB, free: 0 / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.6133, allocations: 28.03 kB / 0.7369 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.346e-05/0.6133, allocations: 22.73 kB / 0.7369 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.6135, allocations: 60.86 kB / 0.737 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.6135, allocations: 0 / 0.737 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002143/0.6137, allocations: 105.6 kB / 0.7371 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6137, allocations: 12 kB / 0.7371 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6137, allocations: 0 / 0.7371 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6137, allocations: 0 / 0.7371 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6139, allocations: 35.92 kB / 0.7371 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6139, allocations: 0 / 0.7371 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.6139, allocations: 0 / 0.7371 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.6139, allocations: 8 kB / 0.7371 GB, free: 15.72 MB / 0.5762 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 8.309e-05/0.614, allocations: 119.3 kB / 0.7372 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.6141, allocations: 4 kB / 0.7372 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.6143, allocations: 129.3 kB / 0.7374 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6144, allocations: 4 kB / 0.7374 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6144, allocations: 0 / 0.7374 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6144, allocations: 3.984 kB / 0.7374 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.6145, allocations: 177.6 kB / 0.7375 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6145, allocations: 0 / 0.7375 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.6147, allocations: 28 kB / 0.7376 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6147, allocations: 3.984 kB / 0.7376 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.6147, allocations: 4 kB / 0.7376 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6147, allocations: 0 / 0.7376 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6147, allocations: 0 / 0.7376 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.615, allocations: 163.9 kB / 0.7377 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.6151, allocations: 89 kB / 0.7378 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.6151, allocations: 4 kB / 0.7378 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.6153, allocations: 12 kB / 0.7378 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.6153, allocations: 11.98 kB / 0.7378 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.6153, allocations: 4 kB / 0.7378 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.6153, allocations: 79.27 kB / 0.7379 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6153, allocations: 0 / 0.7379 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001448/0.6168, allocations: 0.5663 MB / 0.7385 GB, free: 14.24 MB / 0.5762 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.00313/0.6199, allocations: 0.9365 MB / 0.7394 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.6201, allocations: 74.41 kB / 0.7395 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6201, allocations: 0 / 0.7395 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.069e-05/0.6202, allocations: 35.98 kB / 0.7395 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.6204, allocations: 8 kB / 0.7395 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.6223, allocations: 1.554 MB / 0.741 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.6225, allocations: 0.6885 MB / 0.7417 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.551e-05/0.6226, allocations: 32.52 kB / 0.7417 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.6226, allocations: 19.44 kB / 0.7417 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6227, allocations: 0 / 0.7417 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.6699, allocations: 25.37 MB / 0.7665 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.662, allocations: 8.594 kB / 0.7665 GB, free: 1.504 MB / 0.5919 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)