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.001238/0.001238, 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.001371/0.001371, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.399/1.399, 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.9247/0.9247, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.3 kB / 0.5054 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1623, allocations: 80.93 MB / 0.5845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4125/0.5749, allocations: 136.1 MB / 0.7174 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02679/0.6017, allocations: 22.33 MB / 0.7392 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.6019, allocations: 5.844 kB / 0.7392 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.6022, allocations: 43.75 kB / 0.7392 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.6026, allocations: 98.38 kB / 0.7393 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01885/0.6215, allocations: 6.678 MB / 0.7459 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.6219, allocations: 255.5 kB / 0.7461 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.6219, allocations: 9.312 kB / 0.7461 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.6222, allocations: 137 kB / 0.7462 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.6224, allocations: 89.66 kB / 0.7463 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.6224, allocations: 13.34 kB / 0.7463 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01997/0.6424, allocations: 10.68 MB / 0.7568 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.6426, allocations: 35.89 kB / 0.7568 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.6427, allocations: 83.66 kB / 0.7569 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.6585, allocations: 6.174 MB / 0.7629 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.6586, allocations: 0 / 0.7629 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6586, allocations: 0 / 0.7629 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.6586, allocations: 0 / 0.7629 GB, free: 6.098 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.00333/0.6619, allocations: 1.184 MB / 0.7641 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.662, allocations: 12.03 kB / 0.7641 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.6621, allocations: 54.67 kB / 0.7641 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.6631, allocations: 84.67 kB / 0.7642 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.6634, allocations: 235.6 kB / 0.7644 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6634, allocations: 11.94 kB / 0.7644 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.6635, allocations: 16 kB / 0.7645 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.6646, allocations: 455.2 kB / 0.7649 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6646, allocations: 4 kB / 0.7649 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.6646, allocations: 4 kB / 0.7649 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6646, allocations: 4 kB / 0.7649 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.6658, allocations: 0.5932 MB / 0.7655 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.6669, allocations: 0.8784 MB / 0.7663 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.6677, allocations: 252.4 kB / 0.7666 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.6678, allocations: 78.58 kB / 0.7667 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08862/0.7564, allocations: 35.05 MB / 0.8009 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.7565, allocations: 38.56 kB / 0.8009 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.7565, allocations: 0 / 0.8009 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001721/0.7582, allocations: 415.4 kB / 0.8013 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.7583, allocations: 55.41 kB / 0.8014 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.7584, allocations: 143.9 kB / 0.8015 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.7585, allocations: 33.7 kB / 0.8015 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.7586, allocations: 108.4 kB / 0.8017 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.7586, allocations: 74.77 kB / 0.8017 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.7588, allocations: 85.66 kB / 0.8018 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7589, allocations: 330.8 kB / 0.8021 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.7591, allocations: 79.95 kB / 0.8022 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.7593, allocations: 134.3 kB / 0.8023 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.7597, allocations: 220.3 kB / 0.8025 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7597, allocations: 0 / 0.8025 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006919/0.7604, allocations: 297.2 kB / 0.8028 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7605, allocations: 8.156 kB / 0.8028 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.7605, allocations: 4 kB / 0.8028 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.7605, allocations: 4 kB / 0.8028 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.7608, allocations: 79.88 kB / 0.8029 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7608, allocations: 0 / 0.8029 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.761, allocations: 27.69 kB / 0.8029 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.761, allocations: 23.98 kB / 0.803 GB, free: 9.703 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.0001453/0.7612, allocations: 129.8 kB / 0.8031 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.7613, allocations: 11.91 kB / 0.8031 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.7636, allocations: 2.354 MB / 0.8054 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.7636, allocations: 15.98 kB / 0.8054 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7636, allocations: 0 / 0.8054 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7636, allocations: 7.938 kB / 0.8054 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.7667, allocations: 3.419 MB / 0.8088 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7668, allocations: 0 / 0.8088 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.767, allocations: 59.89 kB / 0.8088 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.767, allocations: 3.5 kB / 0.8088 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.7671, allocations: 15.92 kB / 0.8088 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.7671, allocations: 4 kB / 0.8088 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7671, allocations: 3.938 kB / 0.8088 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.7678, allocations: 0.5468 MB / 0.8094 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.7679, allocations: 136.6 kB / 0.8095 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.768, allocations: 7.938 kB / 0.8095 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.7682, allocations: 15.98 kB / 0.8095 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.7683, allocations: 15.98 kB / 0.8095 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.7683, allocations: 19.98 kB / 0.8096 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.596e-05/0.7684, allocations: 103.2 kB / 0.8097 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7684, allocations: 0 / 0.8097 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00418/0.7726, allocations: 1.628 MB / 0.8112 GB, free: 1.062 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.008702/0.7813, allocations: 2.89 MB / 0.8141 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006629/0.7819, allocations: 328 kB / 0.8144 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.782, allocations: 4 kB / 0.8144 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.7823, allocations: 245.5 kB / 0.8146 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.7828, allocations: 69.73 kB / 0.8147 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.7876, allocations: 3.049 MB / 0.8177 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.7879, allocations: 0.7661 MB / 0.8184 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005049/0.7884, allocations: 401.2 kB / 0.8188 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.7886, allocations: 99.39 kB / 0.8189 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.7886, allocations: 0 / 0.8189 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4058/1.194, allocations: 60.91 MB / 0.8784 GB, free: 185.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.29, allocations: 10.05 kB / 0.8784 GB, free: 185.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)