Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_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.001211/0.001211, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002164/0.002164, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7516/0.7516, allocations: 132.2 MB / 422.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 60.34 kB / 0.5013 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4122, allocations: 80.2 MB / 0.5797 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1434/0.5556, allocations: 134.2 MB / 0.7107 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.58, allocations: 22.61 MB / 0.7328 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.5802, allocations: 8 kB / 0.7328 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.5805, allocations: 39.8 kB / 0.7329 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.5809, allocations: 75.5 kB / 0.7329 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01542/0.5963, allocations: 5.913 MB / 0.7387 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.5967, allocations: 251.9 kB / 0.7389 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.5968, allocations: 13.55 kB / 0.739 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.5971, allocations: 135.5 kB / 0.7391 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.5973, allocations: 95.66 kB / 0.7392 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.5973, allocations: 11.94 kB / 0.7392 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01932/0.6167, allocations: 10.81 MB / 0.7497 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.6168, allocations: 39.84 kB / 0.7498 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.617, allocations: 83.64 kB / 0.7499 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.6315, allocations: 6.191 MB / 0.7559 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6315, allocations: 0 / 0.7559 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6316, allocations: 0 / 0.7559 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.6316, allocations: 0 / 0.7559 GB, free: 12.69 MB / 0.5919 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.003912/0.6355, allocations: 1.189 MB / 0.7571 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.6356, allocations: 8.031 kB / 0.7571 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.725e-05/0.6356, allocations: 50.73 kB / 0.7571 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.6368, allocations: 84.75 kB / 0.7572 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.6371, allocations: 224 kB / 0.7574 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.6372, allocations: 19.88 kB / 0.7574 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.6372, allocations: 12 kB / 0.7575 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.6384, allocations: 460.5 kB / 0.7579 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6384, allocations: 0 / 0.7579 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.6385, allocations: 8 kB / 0.7579 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6385, allocations: 4 kB / 0.7579 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.6397, allocations: 0.5969 MB / 0.7585 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.6409, allocations: 0.8784 MB / 0.7593 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/0.6418, allocations: 253.7 kB / 0.7596 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.6419, allocations: 76.83 kB / 0.7597 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07828/0.7202, allocations: 35.04 MB / 0.7939 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.7203, allocations: 42.56 kB / 0.7939 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.7203, allocations: 0 / 0.7939 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001695/0.722, allocations: 411 kB / 0.7943 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.722, allocations: 59.34 kB / 0.7944 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.7222, allocations: 148 kB / 0.7945 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.7222, allocations: 33.7 kB / 0.7945 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.7223, allocations: 108.4 kB / 0.7946 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.7223, allocations: 90.73 kB / 0.7947 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.7225, allocations: 73.58 kB / 0.7948 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7226, allocations: 330.8 kB / 0.7951 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.7228, allocations: 83.94 kB / 0.7952 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.723, allocations: 130.6 kB / 0.7953 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.7234, allocations: 224.2 kB / 0.7955 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7234, allocations: 0 / 0.7955 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006867/0.7241, allocations: 293.3 kB / 0.7958 GB, free: 428 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7241, allocations: 8 kB / 0.7958 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7241, allocations: 0 / 0.7958 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7241, allocations: 8.156 kB / 0.7958 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.7244, allocations: 79.88 kB / 0.7959 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7244, allocations: 4 kB / 0.7959 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.7246, allocations: 23.69 kB / 0.7959 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.7247, allocations: 35.91 kB / 0.796 GB, free: 268 kB / 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.0001267/0.7248, allocations: 117.8 kB / 0.7961 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.725, allocations: 19.81 kB / 0.7961 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.7271, allocations: 2.346 MB / 0.7984 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.7271, allocations: 11.98 kB / 0.7984 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7272, allocations: 8 kB / 0.7984 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7272, allocations: 7.922 kB / 0.7984 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.7301, allocations: 3.415 MB / 0.8018 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7301, allocations: 0 / 0.8018 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.7304, allocations: 55.95 kB / 0.8018 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7304, allocations: 3.938 kB / 0.8018 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.7304, allocations: 8 kB / 0.8018 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.7304, allocations: 4 kB / 0.8018 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7304, allocations: 7.938 kB / 0.8018 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.7311, allocations: 0.5457 MB / 0.8024 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.7312, allocations: 140.5 kB / 0.8025 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.7313, allocations: 11.94 kB / 0.8025 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.7315, allocations: 12 kB / 0.8025 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.7316, allocations: 27.84 kB / 0.8025 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.7316, allocations: 15.98 kB / 0.8026 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.025e-05/0.7317, allocations: 109.6 kB / 0.8027 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7317, allocations: 0 / 0.8027 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003565/0.7352, allocations: 1.628 MB / 0.8043 GB, free: 7.621 MB / 0.6387 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.007864/0.7431, allocations: 2.889 MB / 0.8071 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006193/0.7437, allocations: 337.3 kB / 0.8074 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7438, allocations: 0 / 0.8074 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.7441, allocations: 241.7 kB / 0.8076 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.7445, allocations: 63.94 kB / 0.8077 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.7492, allocations: 3.14 MB / 0.8108 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.7495, allocations: 0.7661 MB / 0.8115 GB, free: 36 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.2261/0.9756, allocations: 401.3 kB / 0.8119 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.9759, allocations: 101.4 kB / 0.812 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of SimCode: time 9.21e-07/0.9759, allocations: 0 / 0.812 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4687/1.445, allocations: 60.9 MB / 0.8715 GB, free: 173.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.445, allocations: 166.4 kB / 0.8716 GB, free: 172.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.897/7.342, allocations: 0 / 0.8716 GB, free: 172.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)