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.001948/0.001947, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.001869/0.001869, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9352/0.9352, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 16.67 kB / 0.5069 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 82.32 MB / 0.5873 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4677/0.6687, allocations: 114.9 MB / 0.6994 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02661/0.6954, allocations: 19.7 MB / 0.7187 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.6957, allocations: 1.031 kB / 0.7187 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.696, allocations: 38.25 kB / 0.7187 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.6963, allocations: 86.53 kB / 0.7188 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02243/0.7187, allocations: 5.115 MB / 0.7238 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.7192, allocations: 168.6 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.502e-05/0.7193, allocations: 8.531 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.7196, allocations: 123.1 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.7198, allocations: 77.98 kB / 0.7242 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.7198, allocations: 6.219 kB / 0.7242 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03162/0.7515, allocations: 10.69 MB / 0.7346 GB, free: 5.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.7517, allocations: 27.91 kB / 0.7346 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.7518, allocations: 53.64 kB / 0.7347 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.7633, allocations: 4.085 MB / 0.7387 GB, free: 1.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7634, allocations: 0 / 0.7387 GB, free: 1.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7634, allocations: 0 / 0.7387 GB, free: 1.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.7634, allocations: 8 kB / 0.7387 GB, free: 1.09 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003941/0.7674, allocations: 1.152 MB / 0.7398 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.7674, allocations: 12.03 kB / 0.7398 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.7675, allocations: 50.48 kB / 0.7399 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.7687, allocations: 89.78 kB / 0.74 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.769, allocations: 230.8 kB / 0.7402 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.7691, allocations: 11.94 kB / 0.7402 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.7691, allocations: 25.14 kB / 0.7402 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.7703, allocations: 447.3 kB / 0.7406 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7703, allocations: 0 / 0.7406 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.7703, allocations: 4 kB / 0.7406 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.7703, allocations: 4 kB / 0.7406 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.7714, allocations: 0.601 MB / 0.7412 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.7725, allocations: 0.8939 MB / 0.7421 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.7733, allocations: 256 kB / 0.7423 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08807/0.8614, allocations: 35.35 MB / 0.7769 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.8615, allocations: 40.53 kB / 0.7769 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 2.103e-06/0.8615, allocations: 0 / 0.7769 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001778/0.8633, allocations: 419.3 kB / 0.7773 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.8634, allocations: 59.34 kB / 0.7774 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.8635, allocations: 134 kB / 0.7775 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.8636, allocations: 33.7 kB / 0.7775 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.8637, allocations: 112.3 kB / 0.7776 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.291e-05/0.8638, allocations: 82.75 kB / 0.7777 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.8638, allocations: 4 kB / 0.7777 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8639, allocations: 326.8 kB / 0.778 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.8641, allocations: 83.95 kB / 0.7781 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.8643, allocations: 124.3 kB / 0.7782 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.8645, allocations: 91.25 kB / 0.7783 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8645, allocations: 0 / 0.7783 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006859/0.8652, allocations: 297.3 kB / 0.7786 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8652, allocations: 4 kB / 0.7786 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8653, allocations: 4 kB / 0.7786 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8653, allocations: 0 / 0.7786 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.8656, allocations: 86.98 kB / 0.7787 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.8656, allocations: 4 kB / 0.7787 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.8658, allocations: 27.69 kB / 0.7787 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.8658, allocations: 20.14 kB / 0.7787 GB, free: 4.723 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.866, allocations: 133.8 kB / 0.7789 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.8662, allocations: 15.81 kB / 0.7789 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.8685, allocations: 2.343 MB / 0.7812 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.8685, allocations: 11.98 kB / 0.7812 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.8685, allocations: 0 / 0.7812 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.8685, allocations: 7.984 kB / 0.7812 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.8718, allocations: 3.432 MB / 0.7845 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.8718, allocations: 4 kB / 0.7845 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.8721, allocations: 55.88 kB / 0.7846 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.8721, allocations: 4 kB / 0.7846 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.8722, allocations: 8 kB / 0.7846 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.8722, allocations: 3.938 kB / 0.7846 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8722, allocations: 0 / 0.7846 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.873, allocations: 0.5432 MB / 0.7851 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.8731, allocations: 152.5 kB / 0.7853 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.8732, allocations: 8 kB / 0.7853 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.8734, allocations: 16 kB / 0.7853 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.8735, allocations: 15.97 kB / 0.7853 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.8735, allocations: 15.98 kB / 0.7853 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.422e-05/0.8736, allocations: 105.8 kB / 0.7854 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8736, allocations: 0 / 0.7854 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004913/0.8785, allocations: 1.62 MB / 0.787 GB, free: 12.08 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009174/0.8877, allocations: 2.883 MB / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006288/0.8884, allocations: 324.3 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.8884, allocations: 4 kB / 0.7901 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.8887, allocations: 241.2 kB / 0.7904 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.8892, allocations: 61.11 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.8938, allocations: 2.789 MB / 0.7932 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.8941, allocations: 0.778 MB / 0.7939 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005351/0.8947, allocations: 401.1 kB / 0.7943 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.8949, allocations: 103.3 kB / 0.7944 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.8949, allocations: 0 / 0.7944 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/1.002, allocations: 61.38 MB / 0.8543 GB, free: 7.113 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.002, allocations: 157.1 kB / 0.8545 GB, free: 6.875 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.857/6.859, allocations: 0 / 0.8545 GB, free: 6.875 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/linux/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) Environment - environmentSimulation: