Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",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.001131/0.001131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001221/0.001221, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8184/0.8184, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 64.16 kB / 0.505 GB, free: 5.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.114, allocations: 80.92 MB / 0.584 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3033/0.4173, allocations: 134.2 MB / 0.715 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.4388, allocations: 22.6 MB / 0.7371 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4389, allocations: 1.125 kB / 0.7371 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.4391, allocations: 41.09 kB / 0.7371 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.4394, allocations: 84.2 kB / 0.7372 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01305/0.4524, allocations: 5.92 MB / 0.743 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.4527, allocations: 248.1 kB / 0.7432 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.4528, allocations: 9.062 kB / 0.7433 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.453, allocations: 134.6 kB / 0.7434 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.4531, allocations: 97.62 kB / 0.7435 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.4532, allocations: 14.09 kB / 0.7435 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.4662, allocations: 10.81 MB / 0.754 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.4663, allocations: 35.89 kB / 0.7541 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.4664, allocations: 87.59 kB / 0.7542 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007602/0.474, allocations: 6.195 MB / 0.7602 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.474, allocations: 0 / 0.7602 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.474, allocations: 0 / 0.7602 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.474, allocations: 0 / 0.7602 GB, free: 8.738 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.002459/0.4765, allocations: 1.196 MB / 0.7614 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.4765, allocations: 8.031 kB / 0.7614 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.4765, allocations: 50.73 kB / 0.7614 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.4775, allocations: 88.66 kB / 0.7615 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.4777, allocations: 224.2 kB / 0.7617 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4777, allocations: 15.94 kB / 0.7617 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4777, allocations: 12 kB / 0.7618 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.4787, allocations: 459.2 kB / 0.7622 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4787, allocations: 0 / 0.7622 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.4787, allocations: 8 kB / 0.7622 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4788, allocations: 7.984 kB / 0.7622 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4798, allocations: 0.5931 MB / 0.7628 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.4806, allocations: 0.8784 MB / 0.7636 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/0.4814, allocations: 242.4 kB / 0.7639 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4815, allocations: 78.58 kB / 0.764 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07025/0.5518, allocations: 35.05 MB / 0.7982 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.5518, allocations: 43.12 kB / 0.7982 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.252e-06/0.5518, allocations: 0 / 0.7982 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001519/0.5533, allocations: 415.4 kB / 0.7986 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.5534, allocations: 59.39 kB / 0.7987 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.5535, allocations: 140.1 kB / 0.7988 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.5535, allocations: 33.7 kB / 0.7988 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.5536, allocations: 108.4 kB / 0.7989 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.5536, allocations: 78.77 kB / 0.799 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.5537, allocations: 85.59 kB / 0.7991 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.5538, allocations: 330.8 kB / 0.7994 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.554, allocations: 79.95 kB / 0.7995 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.5542, allocations: 134.6 kB / 0.7996 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.5545, allocations: 224.5 kB / 0.7998 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5546, allocations: 0.625 kB / 0.7998 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006061/0.5552, allocations: 297.2 kB / 0.8001 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.5552, allocations: 8 kB / 0.8001 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5552, allocations: 4.156 kB / 0.8001 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.5552, allocations: 4 kB / 0.8001 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.5555, allocations: 79.88 kB / 0.8002 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5555, allocations: 7.125 kB / 0.8002 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.5556, allocations: 23.69 kB / 0.8002 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.5557, allocations: 31.97 kB / 0.8003 GB, free: 12.33 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001079/0.5558, allocations: 121.8 kB / 0.8004 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.556, allocations: 15.91 kB / 0.8004 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.5579, allocations: 2.354 MB / 0.8027 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.5579, allocations: 11.98 kB / 0.8027 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5579, allocations: 0 / 0.8027 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5579, allocations: 7.875 kB / 0.8027 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.5605, allocations: 3.423 MB / 0.8061 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5605, allocations: 0 / 0.8061 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.5607, allocations: 59.94 kB / 0.8061 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5608, allocations: 0 / 0.8061 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5608, allocations: 11.94 kB / 0.8061 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5608, allocations: 4 kB / 0.8061 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5608, allocations: 4 kB / 0.8061 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.5614, allocations: 0.5468 MB / 0.8067 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.5615, allocations: 132.6 kB / 0.8068 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.5616, allocations: 11.94 kB / 0.8068 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.5618, allocations: 15.89 kB / 0.8068 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.5618, allocations: 23.97 kB / 0.8068 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.5619, allocations: 16 kB / 0.8069 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.515e-05/0.5619, allocations: 109.1 kB / 0.807 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5619, allocations: 0 / 0.807 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002809/0.5647, allocations: 1.624 MB / 0.8086 GB, free: 3.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006661/0.5714, allocations: 2.886 MB / 0.8114 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.572, allocations: 328.3 kB / 0.8117 GB, free: 476 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.572, allocations: 320 / 0.8117 GB, free: 476 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.5722, allocations: 249.2 kB / 0.8119 GB, free: 224 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.5727, allocations: 63.62 kB / 0.812 GB, free: 164 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.5766, allocations: 3.16 MB / 0.8151 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.5769, allocations: 0.7622 MB / 0.8158 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004628/0.5773, allocations: 401.3 kB / 0.8162 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5775, allocations: 99.39 kB / 0.8163 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.5775, allocations: 0 / 0.8163 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4367/1.014, allocations: 60.9 MB / 0.8758 GB, free: 183.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001139/1.014, allocations: 176.6 kB / 0.8759 GB, free: 183.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.555/6.569, allocations: 1.5 kB / 0.8759 GB, free: 183.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)