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: translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001387/0.001387, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001563/0.001563, allocations: 188.2 kB / 17.34 MB, free: 5.73 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8652/0.8652, allocations: 135.2 MB / 426.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.16 kB / 0.5864 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1618, allocations: 80.93 MB / 0.6654 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5422/0.704, allocations: 136.5 MB / 0.7987 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02443/0.7284, allocations: 22.39 MB / 0.8206 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.7286, allocations: 2.812 kB / 0.8206 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.729, allocations: 47.42 kB / 0.8206 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.7293, allocations: 94.22 kB / 0.8207 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02104/0.7503, allocations: 6.699 MB / 0.8273 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.7508, allocations: 254.2 kB / 0.8275 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.7508, allocations: 10.22 kB / 0.8275 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.7511, allocations: 139.3 kB / 0.8276 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.7513, allocations: 89.39 kB / 0.8277 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.7513, allocations: 8 kB / 0.8277 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02214/0.7735, allocations: 10.96 MB / 0.8384 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.7736, allocations: 45.94 kB / 0.8385 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.7738, allocations: 79.25 kB / 0.8386 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.7896, allocations: 6.168 MB / 0.8446 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7896, allocations: 0 / 0.8446 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7896, allocations: 0 / 0.8446 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.7896, allocations: 7.938 kB / 0.8446 GB, free: 7.676 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.003799/0.7934, allocations: 1.223 MB / 0.8458 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7934, allocations: 9.109 kB / 0.8458 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.7946, allocations: 88.75 kB / 0.8459 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.795, allocations: 220.2 kB / 0.8461 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.795, allocations: 12.38 kB / 0.8461 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.795, allocations: 23.92 kB / 0.8461 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.7962, allocations: 445.4 kB / 0.8466 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7962, allocations: 3.938 kB / 0.8466 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.7962, allocations: 8 kB / 0.8466 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.7962, allocations: 4 kB / 0.8466 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.7975, allocations: 0.6009 MB / 0.8472 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.7987, allocations: 0.8938 MB / 0.848 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/0.7995, allocations: 232.4 kB / 0.8482 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.7997, allocations: 72.83 kB / 0.8483 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09235/0.892, allocations: 35.41 MB / 0.8829 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.8921, allocations: 34.56 kB / 0.8829 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.8921, allocations: 0 / 0.8829 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001746/0.8938, allocations: 417.8 kB / 0.8833 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.8938, allocations: 55.41 kB / 0.8834 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.894, allocations: 145.8 kB / 0.8835 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.894, allocations: 29.7 kB / 0.8836 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.8941, allocations: 108.5 kB / 0.8837 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.8942, allocations: 83.28 kB / 0.8837 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.8943, allocations: 85.61 kB / 0.8838 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8945, allocations: 322.8 kB / 0.8841 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.8947, allocations: 79.95 kB / 0.8842 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.895, allocations: 133 kB / 0.8843 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.8954, allocations: 229.8 kB / 0.8845 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8954, allocations: 3.938 kB / 0.8845 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007743/0.8962, allocations: 293.3 kB / 0.8848 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.8962, allocations: 5.719 kB / 0.8848 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.8962, allocations: 7.938 kB / 0.8848 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.8963, allocations: 0 / 0.8848 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.8966, allocations: 84.38 kB / 0.8849 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.8966, allocations: 4 kB / 0.8849 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.8967, allocations: 27.94 kB / 0.885 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.8968, allocations: 31.55 kB / 0.885 GB, free: 10.92 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.0001621/0.8969, allocations: 129.8 kB / 0.8851 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.8971, allocations: 15.91 kB / 0.8851 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.8999, allocations: 2.334 MB / 0.8874 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.9, allocations: 15.97 kB / 0.8874 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9, allocations: 0 / 0.8874 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.9, allocations: 0 / 0.8874 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.9039, allocations: 3.44 MB / 0.8908 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.9039, allocations: 0 / 0.8908 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.9042, allocations: 51.89 kB / 0.8908 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.9042, allocations: 4 kB / 0.8908 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.9042, allocations: 11.92 kB / 0.8908 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.9042, allocations: 4 kB / 0.8908 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9042, allocations: 0 / 0.8908 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.9051, allocations: 0.5428 MB / 0.8914 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.9053, allocations: 148.7 kB / 0.8915 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.9053, allocations: 3.938 kB / 0.8915 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.9055, allocations: 15.98 kB / 0.8915 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.9056, allocations: 15.98 kB / 0.8916 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.9056, allocations: 15.98 kB / 0.8916 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.431e-05/0.9057, allocations: 107.2 kB / 0.8917 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.9057, allocations: 0 / 0.8917 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005262/0.911, allocations: 1.649 MB / 0.8933 GB, free: 2.25 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.008773/0.9197, allocations: 1.907 MB / 0.8951 GB, free: 344 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.9205, allocations: 320.3 kB / 0.8954 GB, free: 24 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9205, allocations: 0 / 0.8954 GB, free: 24 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.9209, allocations: 185.2 kB / 0.8956 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.9214, allocations: 68.23 kB / 0.8957 GB, free: 15.77 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.9226, allocations: 0.6788 MB / 0.8964 GB, free: 15.06 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.9231, allocations: 0.7661 MB / 0.8971 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.9232, allocations: 51.41 kB / 0.8971 GB, free: 14.21 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/0.9232, allocations: 0 / 0.8971 GB, free: 14.21 MB / 0.67 GB Notification: Performance of Templates: time 0.05001/0.9732, allocations: 31.42 MB / 0.9278 GB, free: 14.77 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)