Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_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.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00118/0.00118, allocations: 193.2 kB / 16.14 MB, free: 6.664 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8805/0.8805, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 60.22 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1405, allocations: 80.93 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002344/0.1429, allocations: 1.305 MB / 0.5851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3494/0.4924, allocations: 135.7 MB / 0.7176 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.4924, allocations: 0 / 0.7176 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.4924, allocations: 0.6562 kB / 0.7176 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.4925, allocations: 6.5 kB / 0.7176 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.4935, allocations: 371.9 kB / 0.718 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.4936, allocations: 45.47 kB / 0.718 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.4936, allocations: 8.125 kB / 0.718 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.4937, allocations: 14.33 kB / 0.718 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.4937, allocations: 24.22 kB / 0.7181 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.4937, allocations: 1.125 kB / 0.7181 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.4951, allocations: 0.8236 MB / 0.7189 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.4951, allocations: 4.719 kB / 0.7189 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.4952, allocations: 21.88 kB / 0.7189 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.4958, allocations: 451.7 kB / 0.7193 GB, free: 9.496 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.4958, allocations: 0 / 0.7193 GB, free: 9.496 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.61e-07/0.4958, allocations: 0 / 0.7193 GB, free: 9.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.4958, allocations: 0.9688 kB / 0.7193 GB, free: 9.496 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.0004326/0.4963, allocations: 371.1 kB / 0.7197 GB, free: 9.125 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4963, allocations: 9.406 kB / 0.7197 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.4964, allocations: 37.42 kB / 0.7197 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.4965, allocations: 12.17 kB / 0.7197 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.4966, allocations: 162.8 kB / 0.7199 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.4966, allocations: 5.812 kB / 0.7199 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4967, allocations: 13.47 kB / 0.7199 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.4968, allocations: 53.62 kB / 0.72 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.4968, allocations: 0 / 0.72 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4968, allocations: 2.719 kB / 0.72 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.4968, allocations: 0 / 0.72 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.4969, allocations: 23.67 kB / 0.72 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.4971, allocations: 167.4 kB / 0.7201 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.4972, allocations: 56.42 kB / 0.7202 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.4972, allocations: 18.14 kB / 0.7202 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009719/0.5069, allocations: 3.169 MB / 0.7233 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.507, allocations: 31.81 kB / 0.7233 GB, free: 7.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.507, allocations: 5.031 kB / 0.7233 GB, free: 7.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03632/0.5433, allocations: 14.86 MB / 0.7379 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.5434, allocations: 63.33 kB / 0.7379 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.5434, allocations: 93.86 kB / 0.738 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5435, allocations: 25.7 kB / 0.738 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.5435, allocations: 88.27 kB / 0.7381 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.5435, allocations: 43.39 kB / 0.7382 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.5436, allocations: 25.72 kB / 0.7382 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.5437, allocations: 326.8 kB / 0.7385 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.5437, allocations: 23.55 kB / 0.7385 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.927e-05/0.5438, allocations: 24 kB / 0.7385 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.5439, allocations: 61.34 kB / 0.7386 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.5439, allocations: 0 / 0.7386 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001975/0.5441, allocations: 110.5 kB / 0.7387 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5442, allocations: 13.97 kB / 0.7387 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5442, allocations: 4 kB / 0.7387 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.5442, allocations: 0 / 0.7387 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.5443, allocations: 20 kB / 0.7387 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5443, allocations: 0 / 0.7387 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.5443, allocations: 7.984 kB / 0.7388 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.5443, allocations: 4 kB / 0.7388 GB, free: 14.23 MB / 0.5606 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.696e-05/0.5444, allocations: 121.7 kB / 0.7389 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.5445, allocations: 0 / 0.7389 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.5447, allocations: 125.5 kB / 0.739 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5447, allocations: 4 kB / 0.739 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5447, allocations: 0 / 0.739 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.5448, allocations: 0 / 0.739 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.5449, allocations: 181.6 kB / 0.7392 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5449, allocations: 0 / 0.7392 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.545, allocations: 31.92 kB / 0.7392 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.545, allocations: 0 / 0.7392 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.545, allocations: 4 kB / 0.7392 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.5451, allocations: 4 kB / 0.7392 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5451, allocations: 0 / 0.7392 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.5453, allocations: 152.9 kB / 0.7394 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.5454, allocations: 93.05 kB / 0.7394 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.5454, allocations: 0 / 0.7394 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.5456, allocations: 19.98 kB / 0.7395 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.5456, allocations: 11.92 kB / 0.7395 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.5456, allocations: 6.812 kB / 0.7395 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.5456, allocations: 79.28 kB / 0.7396 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5457, allocations: 0 / 0.7396 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001521/0.5472, allocations: 0.5663 MB / 0.7401 GB, free: 12.74 MB / 0.5606 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.003145/0.5503, allocations: 0.9475 MB / 0.741 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.5505, allocations: 63.92 kB / 0.7411 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5505, allocations: 0 / 0.7411 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/0.5505, allocations: 35.81 kB / 0.7411 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.5507, allocations: 8 kB / 0.7411 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.5526, allocations: 1.554 MB / 0.7427 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.5528, allocations: 0.6933 MB / 0.7433 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.815e-05/0.5529, allocations: 24.55 kB / 0.7434 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.5529, allocations: 27.42 kB / 0.7434 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5529, allocations: 0 / 0.7434 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1803/0.7332, allocations: 25.25 MB / 0.768 GB, free: 84 kB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.7336, allocations: 181.3 kB / 0.7682 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.337, allocations: 3.938 kB / 0.7682 GB, free: 15.82 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)