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.001061/0.001061, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008627/0.008627, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 8 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1947, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4508/0.6456, allocations: 132.3 MB / 0.7172 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.032/0.6776, allocations: 24.25 MB / 0.7409 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.6779, allocations: 0 / 0.7409 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.6781, allocations: 39.83 kB / 0.741 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.6784, allocations: 91.47 kB / 0.741 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01866/0.6971, allocations: 5.279 MB / 0.7462 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005608/0.6976, allocations: 312.2 kB / 0.7465 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.6977, allocations: 9.156 kB / 0.7465 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.698, allocations: 135.8 kB / 0.7466 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.6982, allocations: 93.69 kB / 0.7467 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.6982, allocations: 5.375 kB / 0.7467 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02133/0.7196, allocations: 10.86 MB / 0.7573 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.7198, allocations: 35.89 kB / 0.7574 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.72, allocations: 109.2 kB / 0.7575 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01679/0.7368, allocations: 6.16 MB / 0.7635 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7368, allocations: 0 / 0.7635 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7368, allocations: 0 / 0.7635 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.7369, allocations: 4 kB / 0.7635 GB, free: 8.195 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.003212/0.7401, allocations: 1.149 MB / 0.7646 GB, free: 7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7401, allocations: 15.97 kB / 0.7646 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.7402, allocations: 46.73 kB / 0.7647 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.7413, allocations: 88.66 kB / 0.7648 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.7415, allocations: 228.2 kB / 0.765 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.7416, allocations: 11.94 kB / 0.765 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.7416, allocations: 19.94 kB / 0.765 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.7428, allocations: 451.3 kB / 0.7654 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7428, allocations: 7.062 kB / 0.7654 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.7428, allocations: 4 kB / 0.7654 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.7428, allocations: 4 kB / 0.7654 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.744, allocations: 0.601 MB / 0.766 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.7451, allocations: 0.8784 MB / 0.7669 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.7459, allocations: 244.6 kB / 0.7671 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.746, allocations: 82.52 kB / 0.7672 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08861/0.8346, allocations: 35.34 MB / 0.8017 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.8347, allocations: 34.56 kB / 0.8018 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.8347, allocations: 8 kB / 0.8018 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001767/0.8365, allocations: 415.3 kB / 0.8022 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.8365, allocations: 55.41 kB / 0.8022 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.8367, allocations: 140.3 kB / 0.8023 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.8368, allocations: 33.7 kB / 0.8024 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.8368, allocations: 112.3 kB / 0.8025 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.8369, allocations: 90.73 kB / 0.8026 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.837, allocations: 25.7 kB / 0.8026 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8371, allocations: 330.8 kB / 0.8029 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.8373, allocations: 79.95 kB / 0.803 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.8375, allocations: 130.6 kB / 0.8031 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.8379, allocations: 224.3 kB / 0.8033 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8379, allocations: 0 / 0.8033 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006697/0.8386, allocations: 293.3 kB / 0.8036 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8386, allocations: 8 kB / 0.8036 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.8387, allocations: 0 / 0.8036 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.8387, allocations: 4.156 kB / 0.8036 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.839, allocations: 87.88 kB / 0.8037 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.839, allocations: 4 kB / 0.8037 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.8392, allocations: 23.67 kB / 0.8037 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.8392, allocations: 31.92 kB / 0.8038 GB, free: 11.57 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.0001351/0.8394, allocations: 125.8 kB / 0.8039 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.8395, allocations: 15.81 kB / 0.8039 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.8422, allocations: 2.346 MB / 0.8062 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.8422, allocations: 11.98 kB / 0.8062 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.8423, allocations: 4 kB / 0.8062 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.8423, allocations: 7.922 kB / 0.8062 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.8458, allocations: 3.423 MB / 0.8095 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.8459, allocations: 3.938 kB / 0.8095 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.8461, allocations: 51.95 kB / 0.8096 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.8461, allocations: 4 kB / 0.8096 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.8462, allocations: 7.938 kB / 0.8096 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.8462, allocations: 7.984 kB / 0.8096 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8462, allocations: 3.125 kB / 0.8096 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.847, allocations: 0.543 MB / 0.8102 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.8472, allocations: 144.5 kB / 0.8103 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.8472, allocations: 7.938 kB / 0.8103 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.8474, allocations: 15.98 kB / 0.8103 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.8475, allocations: 19.98 kB / 0.8103 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.8475, allocations: 19.98 kB / 0.8103 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.652e-05/0.8476, allocations: 103.3 kB / 0.8104 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8476, allocations: 0 / 0.8104 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004458/0.8521, allocations: 1.624 MB / 0.812 GB, free: 2.938 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.01063/0.8627, allocations: 2.888 MB / 0.8149 GB, free: 28 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007854/0.8635, allocations: 324 kB / 0.8152 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.8636, allocations: 0 / 0.8152 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.864, allocations: 245.5 kB / 0.8154 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.8646, allocations: 59.12 kB / 0.8155 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00651/0.8712, allocations: 3.196 MB / 0.8186 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.8715, allocations: 0.7699 MB / 0.8193 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000602/0.8722, allocations: 405.2 kB / 0.8197 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.8724, allocations: 95.39 kB / 0.8198 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/0.8724, allocations: 0 / 0.8198 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8511/1.723, allocations: 60.51 MB / 0.8789 GB, free: 179.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.724, allocations: 182.5 kB / 0.8791 GB, free: 179.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.519/7.243, allocations: 4.906 kB / 0.8791 GB, free: 179.6 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)