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.005632/0.005632, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001415/0.001415, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7718/0.7718, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 62.53 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1433, allocations: 80.92 MB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5159/0.6593, allocations: 136.1 MB / 0.7971 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02208/0.6814, allocations: 22.33 MB / 0.8189 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.6817, allocations: 2.688 kB / 0.8189 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.682, allocations: 46.52 kB / 0.819 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.6824, allocations: 94.91 kB / 0.8191 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01792/0.7003, allocations: 6.703 MB / 0.8256 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.7008, allocations: 247.7 kB / 0.8258 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.7008, allocations: 9.375 kB / 0.8258 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.7012, allocations: 150.1 kB / 0.826 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.7014, allocations: 92.72 kB / 0.8261 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.7014, allocations: 7.938 kB / 0.8261 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03039/0.7318, allocations: 10.96 MB / 0.8368 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.732, allocations: 41.98 kB / 0.8368 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.7322, allocations: 85.64 kB / 0.8369 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02065/0.7529, allocations: 6.15 MB / 0.8429 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7529, allocations: 4 kB / 0.8429 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7529, allocations: 0 / 0.8429 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.753, allocations: 0 / 0.8429 GB, free: 8.496 MB / 0.6075 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.004872/0.7578, allocations: 1.193 MB / 0.8441 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.7579, allocations: 9.109 kB / 0.8441 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.758, allocations: 46.73 kB / 0.8441 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.76, allocations: 92.66 kB / 0.8442 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.7604, allocations: 220.3 kB / 0.8444 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.7605, allocations: 19.94 kB / 0.8445 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.7605, allocations: 12 kB / 0.8445 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.7623, allocations: 452.7 kB / 0.8449 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.7624, allocations: 0 / 0.8449 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.7624, allocations: 11.98 kB / 0.8449 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.7624, allocations: 4 kB / 0.8449 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.7642, allocations: 0.5931 MB / 0.8455 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.7653, allocations: 0.8821 MB / 0.8464 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008392/0.7662, allocations: 252.5 kB / 0.8466 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.7663, allocations: 80.83 kB / 0.8467 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08521/0.8515, allocations: 35.41 MB / 0.8813 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.8516, allocations: 42.48 kB / 0.8813 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.415e-06/0.8516, allocations: 0 / 0.8813 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001827/0.8535, allocations: 417.8 kB / 0.8817 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.8535, allocations: 55.41 kB / 0.8817 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.8537, allocations: 139.5 kB / 0.8819 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.8537, allocations: 33.7 kB / 0.8819 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.8538, allocations: 112.3 kB / 0.882 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/0.8539, allocations: 82.75 kB / 0.8821 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.8541, allocations: 77.66 kB / 0.8822 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8542, allocations: 330.8 kB / 0.8825 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.8544, allocations: 79.95 kB / 0.8826 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.8547, allocations: 133 kB / 0.8827 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.8551, allocations: 218.3 kB / 0.8829 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8552, allocations: 4 kB / 0.8829 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007504/0.8559, allocations: 297.2 kB / 0.8832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.856, allocations: 8 kB / 0.8832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.856, allocations: 0 / 0.8832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.856, allocations: 4 kB / 0.8832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.8563, allocations: 80.75 kB / 0.8833 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.8563, allocations: 0 / 0.8833 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.8565, allocations: 27.77 kB / 0.8833 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.8566, allocations: 28.14 kB / 0.8833 GB, free: 11.71 MB / 0.6544 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.0001681/0.8568, allocations: 125.8 kB / 0.8835 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.8569, allocations: 19.75 kB / 0.8835 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.8593, allocations: 2.338 MB / 0.8858 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.8594, allocations: 11.98 kB / 0.8858 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8594, allocations: 3.812 kB / 0.8858 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.8594, allocations: 15.86 kB / 0.8858 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.8629, allocations: 3.428 MB / 0.8891 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.8629, allocations: 0 / 0.8891 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.8632, allocations: 59.89 kB / 0.8892 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.8632, allocations: 0 / 0.8892 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.8632, allocations: 11.94 kB / 0.8892 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.8632, allocations: 0 / 0.8892 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.8632, allocations: 3.984 kB / 0.8892 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.864, allocations: 0.5388 MB / 0.8897 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.8642, allocations: 148.5 kB / 0.8899 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.8642, allocations: 7.938 kB / 0.8899 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.8645, allocations: 12 kB / 0.8899 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.8645, allocations: 19.97 kB / 0.8899 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.8646, allocations: 15.98 kB / 0.8899 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.547e-05/0.8646, allocations: 105.3 kB / 0.89 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8646, allocations: 0 / 0.89 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004499/0.8692, allocations: 1.628 MB / 0.8916 GB, free: 3.062 MB / 0.6544 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.00947/0.8786, allocations: 2.885 MB / 0.8944 GB, free: 152 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007603/0.8794, allocations: 321.3 kB / 0.8947 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8795, allocations: 0 / 0.8947 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.8799, allocations: 240.5 kB / 0.895 GB, free: 15.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.8805, allocations: 65.59 kB / 0.895 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/0.8866, allocations: 3.061 MB / 0.898 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.887, allocations: 0.7622 MB / 0.8988 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005389/0.8875, allocations: 405.2 kB / 0.8992 GB, free: 11.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.8877, allocations: 99.39 kB / 0.8992 GB, free: 11.08 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.8877, allocations: 3.938 kB / 0.8992 GB, free: 11.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/0.9933, allocations: 60.76 MB / 0.9586 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.52, allocations: 0.5625 kB / 0.9586 GB, free: 14.32 MB / 0.7325 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)