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.00534/0.00534, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001184/0.001184, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9319/0.9319, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.5851 GB, free: 3.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3956, allocations: 80.92 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002183/0.3978, allocations: 1.263 MB / 0.6654 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1449/0.5427, allocations: 137.7 MB / 0.7999 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.5428, allocations: 0 / 0.7999 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.5429, allocations: 0 / 0.7999 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.5429, allocations: 11.91 kB / 0.7999 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.5443, allocations: 470.3 kB / 0.8003 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.725e-05/0.5444, allocations: 39.86 kB / 0.8004 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.5444, allocations: 4 kB / 0.8004 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.5445, allocations: 27.84 kB / 0.8004 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.5445, allocations: 11.98 kB / 0.8004 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.5446, allocations: 4 kB / 0.8004 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.5461, allocations: 0.831 MB / 0.8012 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.5462, allocations: 11.92 kB / 0.8012 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.5462, allocations: 19.92 kB / 0.8012 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.5469, allocations: 445.4 kB / 0.8017 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5469, allocations: 0 / 0.8017 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5469, allocations: 0 / 0.8017 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5469, allocations: 0 / 0.8017 GB, free: 4.289 MB / 0.6231 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.0005278/0.5475, allocations: 375.4 kB / 0.802 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5475, allocations: 8.031 kB / 0.802 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.5476, allocations: 34.75 kB / 0.8021 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.5478, allocations: 16.83 kB / 0.8021 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.5479, allocations: 164.4 kB / 0.8022 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.5479, allocations: 384 / 0.8022 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.5479, allocations: 11.94 kB / 0.8022 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.5481, allocations: 57.66 kB / 0.8023 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5481, allocations: 8 kB / 0.8023 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5481, allocations: 3.938 kB / 0.8023 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5482, allocations: 4 kB / 0.8023 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.5482, allocations: 15.98 kB / 0.8023 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.5484, allocations: 161.7 kB / 0.8025 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.5485, allocations: 58.5 kB / 0.8025 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.5486, allocations: 12.84 kB / 0.8026 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.5598, allocations: 3.209 MB / 0.8057 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.5599, allocations: 34.5 kB / 0.8057 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.5599, allocations: 0 / 0.8057 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.04161/0.6015, allocations: 15 MB / 0.8204 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.6016, allocations: 51.41 kB / 0.8204 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.6017, allocations: 89.86 kB / 0.8205 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.6017, allocations: 29.7 kB / 0.8205 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.6018, allocations: 84.14 kB / 0.8206 GB, free: 440 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.6018, allocations: 43.38 kB / 0.8207 GB, free: 396 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.6019, allocations: 33.7 kB / 0.8207 GB, free: 356 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.602, allocations: 322.9 kB / 0.821 GB, free: 24 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.602, allocations: 19.98 kB / 0.821 GB, free: 4 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.6021, allocations: 23.98 kB / 0.821 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.6023, allocations: 59.73 kB / 0.8211 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6023, allocations: 0 / 0.8211 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002264/0.6025, allocations: 113.5 kB / 0.8212 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.6025, allocations: 8 kB / 0.8212 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6025, allocations: 0 / 0.8212 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6026, allocations: 3.938 kB / 0.8212 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.6027, allocations: 23.98 kB / 0.8212 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6027, allocations: 4 kB / 0.8212 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.6027, allocations: 4 kB / 0.8212 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.6027, allocations: 8 kB / 0.8213 GB, free: 15.75 MB / 0.6544 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.966e-05/0.6028, allocations: 123.2 kB / 0.8214 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.6029, allocations: 4 kB / 0.8214 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.6032, allocations: 125.4 kB / 0.8215 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6032, allocations: 4 kB / 0.8215 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6032, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6032, allocations: 3.984 kB / 0.8215 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.6034, allocations: 177.6 kB / 0.8217 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6034, allocations: 0 / 0.8217 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.6035, allocations: 27.92 kB / 0.8217 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6035, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.6035, allocations: 8 kB / 0.8217 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.6035, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6035, allocations: 7.922 kB / 0.8217 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.6038, allocations: 153 kB / 0.8219 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.6039, allocations: 85.14 kB / 0.8219 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.604, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.6041, allocations: 15.98 kB / 0.822 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.6041, allocations: 7.984 kB / 0.822 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6041, allocations: 12 kB / 0.822 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.25e-05/0.6042, allocations: 79.22 kB / 0.822 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6042, allocations: 0 / 0.822 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001689/0.6059, allocations: 0.5663 MB / 0.8226 GB, free: 14.27 MB / 0.6544 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.003954/0.6099, allocations: 0.9342 MB / 0.8235 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.61, allocations: 63.86 kB / 0.8236 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6101, allocations: 4 kB / 0.8236 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.6101, allocations: 43.86 kB / 0.8236 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.6103, allocations: 8 kB / 0.8236 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.6126, allocations: 1.553 MB / 0.8251 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.6129, allocations: 0.6884 MB / 0.8258 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.219e-05/0.613, allocations: 24.53 kB / 0.8258 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.613, allocations: 23.44 kB / 0.8259 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.613, allocations: 0 / 0.8259 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05213/0.6652, allocations: 25.45 MB / 0.8507 GB, free: 1.367 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.726, allocations: 6.562 kB / 0.8507 GB, free: 1.363 MB / 0.67 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)