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: translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001189/0.001189, allocations: 194.3 kB / 16.13 MB, free: 6.656 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7714/0.7714, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 64.28 kB / 0.5011 GB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4437, allocations: 80.21 MB / 0.5794 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1637/0.6074, allocations: 134.1 MB / 0.7103 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03113/0.6386, allocations: 24.63 MB / 0.7344 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.6389, allocations: 4 kB / 0.7344 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.6392, allocations: 35.8 kB / 0.7344 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.6396, allocations: 91.42 kB / 0.7345 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01814/0.6577, allocations: 5.3 MB / 0.7397 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.6582, allocations: 303.8 kB / 0.74 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.297e-05/0.6583, allocations: 17.48 kB / 0.74 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.6587, allocations: 139.5 kB / 0.7401 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.6589, allocations: 95.59 kB / 0.7402 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.659, allocations: 4 kB / 0.7402 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02151/0.6805, allocations: 10.85 MB / 0.7508 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.6807, allocations: 35.89 kB / 0.7508 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.6809, allocations: 75.66 kB / 0.7509 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.6976, allocations: 6.195 MB / 0.757 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.6977, allocations: 0 / 0.757 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6977, allocations: 0 / 0.757 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6977, allocations: 0 / 0.757 GB, free: 11.44 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.003587/0.7013, allocations: 1.182 MB / 0.7581 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.7014, allocations: 8.031 kB / 0.7581 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.7026, allocations: 88.67 kB / 0.7582 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.7029, allocations: 232 kB / 0.7584 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.703, allocations: 16.12 kB / 0.7584 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.703, allocations: 12 kB / 0.7585 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.7043, allocations: 460.5 kB / 0.7589 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.7043, allocations: 0 / 0.7589 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.7043, allocations: 8 kB / 0.7589 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.7044, allocations: 4 kB / 0.7589 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.7057, allocations: 0.5969 MB / 0.7595 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.707, allocations: 0.8784 MB / 0.7603 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.7079, allocations: 249.6 kB / 0.7606 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.708, allocations: 76.83 kB / 0.7607 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08346/0.7915, allocations: 35.04 MB / 0.7949 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.7915, allocations: 38.56 kB / 0.7949 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.7916, allocations: 0 / 0.7949 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001919/0.7935, allocations: 415 kB / 0.7953 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.7935, allocations: 55.41 kB / 0.7954 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.7937, allocations: 143.9 kB / 0.7955 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.7937, allocations: 33.7 kB / 0.7955 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.7938, allocations: 112.4 kB / 0.7956 GB, free: 492 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/0.7939, allocations: 74.77 kB / 0.7957 GB, free: 416 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.794, allocations: 89.59 kB / 0.7958 GB, free: 320 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7942, allocations: 330.8 kB / 0.7961 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.7944, allocations: 87.89 kB / 0.7962 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.7946, allocations: 126.6 kB / 0.7963 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.7951, allocations: 224.2 kB / 0.7965 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7951, allocations: 0 / 0.7965 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007228/0.7958, allocations: 297.2 kB / 0.7968 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.7958, allocations: 8.156 kB / 0.7968 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7959, allocations: 4 kB / 0.7968 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7959, allocations: 4 kB / 0.7968 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.7962, allocations: 79.88 kB / 0.7969 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.7962, allocations: 4 kB / 0.7969 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.7964, allocations: 23.69 kB / 0.7969 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.7964, allocations: 27.98 kB / 0.797 GB, free: 15.07 MB / 0.6387 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.000151/0.7966, allocations: 125.8 kB / 0.7971 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.7968, allocations: 19.89 kB / 0.7971 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.7992, allocations: 2.357 MB / 0.7994 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.7992, allocations: 11.98 kB / 0.7994 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.7992, allocations: 0 / 0.7994 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.7992, allocations: 3.938 kB / 0.7994 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.8023, allocations: 3.419 MB / 0.8028 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8023, allocations: 0 / 0.8028 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.8026, allocations: 59.95 kB / 0.8028 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.8026, allocations: 3.984 kB / 0.8028 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.8027, allocations: 11.94 kB / 0.8028 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8027, allocations: 4 kB / 0.8028 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8027, allocations: 0 / 0.8028 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.8035, allocations: 0.5495 MB / 0.8034 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.8036, allocations: 132.6 kB / 0.8035 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.8037, allocations: 11.94 kB / 0.8035 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.8039, allocations: 15.89 kB / 0.8035 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.804, allocations: 27.97 kB / 0.8035 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.804, allocations: 12 kB / 0.8036 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.908e-05/0.8041, allocations: 105.8 kB / 0.8037 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.613e-06/0.8041, allocations: 0 / 0.8037 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005059/0.8092, allocations: 1.632 MB / 0.8053 GB, free: 6.426 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.009792/0.819, allocations: 1.896 MB / 0.8071 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007872/0.8198, allocations: 322.2 kB / 0.8074 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.8198, allocations: 0 / 0.8074 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.8203, allocations: 245.4 kB / 0.8076 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.821, allocations: 60.27 kB / 0.8077 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.8223, allocations: 0.7478 MB / 0.8084 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.8227, allocations: 0.7661 MB / 0.8092 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005937/0.8233, allocations: 405.1 kB / 0.8096 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.8235, allocations: 43.42 kB / 0.8096 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/0.8235, allocations: 0 / 0.8096 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of Templates: time 0.3252/1.149, allocations: 57.05 MB / 0.8653 GB, free: 179.1 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile (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 & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)