Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 87.84 kB / 16.31 MB, free: 6.461 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.001334/0.001334, allocations: 181.5 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 223.4 MB, free: 5.801 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006087/0.0006088, allocations: 16 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.215, allocations: 47.57 MB / 327.7 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01305/0.2281, allocations: 11.96 MB / 339.7 MB, free: 7.555 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.2404, allocations: 10.71 MB / 350.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.2406, allocations: 0 / 350.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.241, allocations: 59.67 kB / 350.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.2413, allocations: 79.5 kB / 350.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.2528, allocations: 3.854 MB / 354.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.2531, allocations: 246.9 kB / 354.6 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.2532, allocations: 9.438 kB / 354.6 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003861/0.2536, allocations: 175.2 kB / 354.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2537, allocations: 79.7 kB / 354.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2537, allocations: 4 kB / 354.9 MB, free: 8.305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.2659, allocations: 6.645 MB / 361.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.266, allocations: 19.91 kB / 361.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.2661, allocations: 53.64 kB / 361.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.2709, allocations: 2.581 MB / 364.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.271, allocations: 0 / 364.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.271, allocations: 0 / 364.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.271, allocations: 0 / 364.2 MB, free: 14.99 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004603/0.2756, allocations: 1.104 MB / 365.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2756, allocations: 8.031 kB / 365.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.2762, allocations: 59.72 kB / 365.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.2764, allocations: 218.8 kB / 365.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.2765, allocations: 12.28 kB / 365.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.2765, allocations: 16 kB / 365.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.2777, allocations: 390.5 kB / 366 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2777, allocations: 4 kB / 366 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.2778, allocations: 8 kB / 366 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2778, allocations: 4 kB / 366 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.2791, allocations: 372.2 kB / 366.3 MB, free: 12.7 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.2805, allocations: 1.188 MB / 367.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.2813, allocations: 300.3 kB / 367.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.2816, allocations: 114.9 kB / 367.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08757/0.3692, allocations: 47.87 MB / 415.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.3692, allocations: 46.62 kB / 415.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.804e-06/0.3692, allocations: 0 / 415.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.006358/0.3756, allocations: 1.619 MB / 417.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.3757, allocations: 110.8 kB / 417.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3758, allocations: 121.7 kB / 417.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3759, allocations: 33.7 kB / 417.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.3759, allocations: 108.5 kB / 417.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.376, allocations: 114.3 kB / 418 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.3761, allocations: 8 kB / 418 MB, free: 3.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3762, allocations: 326.8 kB / 418.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.3766, allocations: 139.7 kB / 418.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.377, allocations: 210.4 kB / 418.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.3773, allocations: 151.9 kB / 418.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3774, allocations: 4 kB / 418.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001032/0.3784, allocations: 429.9 kB / 419.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.3784, allocations: 8.203 kB / 419.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3784, allocations: 11.98 kB / 419.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.3787, allocations: 32.84 kB / 419.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.3792, allocations: 87.88 kB / 419.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003863/0.3796, allocations: 0.5563 MB / 419.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.3799, allocations: 19.98 kB / 419.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.38, allocations: 23.94 kB / 419.9 MB, free: 1.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.3802, allocations: 133.7 kB / 420.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.3803, allocations: 23.84 kB / 420.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.3825, allocations: 1.466 MB / 421.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/0.3825, allocations: 23.97 kB / 421.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3826, allocations: 4.375 kB / 421.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3826, allocations: 0 / 421.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.3854, allocations: 1.99 MB / 423.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.3854, allocations: 3.984 kB / 423.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.3859, allocations: 87.94 kB / 423.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/0.3862, allocations: 72.78 kB / 423.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.3863, allocations: 19.98 kB / 423.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003473/0.3866, allocations: 0.5835 MB / 424.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3866, allocations: 7.969 kB / 424.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.3889, allocations: 1.697 MB / 426 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.389, allocations: 132.3 kB / 426.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.389, allocations: 12 kB / 426.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.3894, allocations: 24.03 kB / 426.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.3895, allocations: 39.84 kB / 426.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.3895, allocations: 11.98 kB / 426.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.026e-05/0.3896, allocations: 91.27 kB / 426.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3896, allocations: 0 / 426.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002855/0.3925, allocations: 0.9527 MB / 427.3 MB, free: 9.641 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004682/0.3972, allocations: 1.142 MB / 428.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.3985, allocations: 0.6091 MB / 429 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3985, allocations: 0 / 429 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.3993, allocations: 0.5046 MB / 429.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.4001, allocations: 80.36 kB / 429.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.4025, allocations: 1.569 MB / 431.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4029, allocations: 0.8178 MB / 432 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004122/0.4033, allocations: 130.1 kB / 432.1 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4035, allocations: 43.41 kB / 432.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4035, allocations: 3.938 kB / 432.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of Templates: time 0.2013/0.6048, allocations: 36.28 MB / 468.5 MB, free: 110.9 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.2_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe 2>&1)