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.001185/0.001185, 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.001169/0.001169, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.359/1.359, 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-master/package.mo): time 0.8497/0.8497, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.2 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1275, allocations: 80.92 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001972/0.1295, allocations: 1.249 MB / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.307/0.4365, allocations: 137.7 MB / 0.7202 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.4366, allocations: 0 / 0.7202 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.4367, allocations: 5.203 kB / 0.7202 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.213e-05/0.4368, allocations: 9.984 kB / 0.7202 GB, free: 8.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.4383, allocations: 462.4 kB / 0.7206 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.768e-05/0.4384, allocations: 41.81 kB / 0.7207 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.4384, allocations: 3.078 kB / 0.7207 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.4385, allocations: 22.14 kB / 0.7207 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.4386, allocations: 19.62 kB / 0.7207 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.4386, allocations: 2.094 kB / 0.7207 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.44, allocations: 0.8077 MB / 0.7215 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.44, allocations: 13.66 kB / 0.7215 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.4401, allocations: 20.28 kB / 0.7215 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005997/0.4407, allocations: 448.5 kB / 0.722 GB, free: 7.746 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4407, allocations: 0 / 0.722 GB, free: 7.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4407, allocations: 0 / 0.722 GB, free: 7.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4407, allocations: 0 / 0.722 GB, free: 7.746 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.0005431/0.4413, allocations: 367.2 kB / 0.7223 GB, free: 7.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.4413, allocations: 10.69 kB / 0.7223 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.4414, allocations: 32.8 kB / 0.7224 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.4416, allocations: 21.97 kB / 0.7224 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.4417, allocations: 169.5 kB / 0.7225 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4417, allocations: 5.781 kB / 0.7225 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.4417, allocations: 7.438 kB / 0.7225 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.4419, allocations: 53.2 kB / 0.7226 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4419, allocations: 0 / 0.7226 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4419, allocations: 1.312 kB / 0.7226 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4419, allocations: 3.375 kB / 0.7226 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.442, allocations: 24.83 kB / 0.7226 GB, free: 7.078 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.4422, allocations: 170.2 kB / 0.7228 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.301e-05/0.4423, allocations: 53.02 kB / 0.7228 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.4423, allocations: 21.89 kB / 0.7229 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.4527, allocations: 3.161 MB / 0.7259 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.4528, allocations: 40.12 kB / 0.726 GB, free: 6.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4528, allocations: 0 / 0.726 GB, free: 6.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03836/0.4911, allocations: 14.86 MB / 0.7405 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.4912, allocations: 51.41 kB / 0.7406 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.4912, allocations: 97.8 kB / 0.7406 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.4913, allocations: 29.7 kB / 0.7407 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/0.4913, allocations: 84.27 kB / 0.7408 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.4913, allocations: 43.39 kB / 0.7408 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.4914, allocations: 33.7 kB / 0.7408 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.4915, allocations: 318.8 kB / 0.7411 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.4915, allocations: 23.98 kB / 0.7412 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.4916, allocations: 20.75 kB / 0.7412 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.4917, allocations: 61.84 kB / 0.7412 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4917, allocations: 0 / 0.7412 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001919/0.4919, allocations: 110.9 kB / 0.7413 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.4919, allocations: 8 kB / 0.7413 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4919, allocations: 0 / 0.7413 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4919, allocations: 0 / 0.7413 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.492, allocations: 31.92 kB / 0.7414 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.492, allocations: 0 / 0.7414 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.4921, allocations: 6.312 kB / 0.7414 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.4921, allocations: 4 kB / 0.7414 GB, free: 11.6 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 6.669e-05/0.4921, allocations: 117.8 kB / 0.7415 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.4922, allocations: 4 kB / 0.7415 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.4925, allocations: 140.8 kB / 0.7416 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4925, allocations: 0 / 0.7416 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4925, allocations: 0 / 0.7416 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4925, allocations: 0 / 0.7416 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.4926, allocations: 177.6 kB / 0.7418 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4926, allocations: 4 kB / 0.7418 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4927, allocations: 27.98 kB / 0.7418 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4927, allocations: 0 / 0.7418 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.4927, allocations: 4 kB / 0.7418 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4928, allocations: 0 / 0.7418 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4928, allocations: 0 / 0.7418 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.493, allocations: 160.8 kB / 0.742 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.4931, allocations: 89.05 kB / 0.7421 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.4931, allocations: 4 kB / 0.7421 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4932, allocations: 18.92 kB / 0.7421 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.4933, allocations: 7.984 kB / 0.7421 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4933, allocations: 8 kB / 0.7421 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.4933, allocations: 79.28 kB / 0.7422 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4933, allocations: 0 / 0.7422 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001232/0.4946, allocations: 0.5663 MB / 0.7427 GB, free: 10.11 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.003059/0.4976, allocations: 0.9381 MB / 0.7437 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.4978, allocations: 67.92 kB / 0.7437 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4978, allocations: 0 / 0.7437 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.222e-05/0.4979, allocations: 31.98 kB / 0.7438 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.498, allocations: 8 kB / 0.7438 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.4999, allocations: 1.541 MB / 0.7453 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.5002, allocations: 0.6924 MB / 0.7459 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.337e-05/0.5003, allocations: 20.55 kB / 0.746 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.5003, allocations: 27.42 kB / 0.746 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of SimCode: time 6.022e-06/0.5003, allocations: 0 / 0.746 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.774/2.275, allocations: 25.4 MB / 0.7708 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.496/11.77, allocations: 2.188 kB / 0.7708 GB, free: 13.32 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)