Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.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.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001099/0.001099, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.512/1.512, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001313/0.001313, allocations: 55.92 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2533, allocations: 46.63 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.06413/0.3175, allocations: 72.86 MB / 397.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02912/0.3466, allocations: 25.28 MB / 423 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.3488, allocations: 55.56 kB / 423 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.3509, allocations: 0.7033 MB / 423.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01794/0.3688, allocations: 5.739 MB / 429.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.3798, allocations: 4.081 MB / 433.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004448/0.3842, allocations: 3.61 MB / 437.2 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.3855, allocations: 1.024 MB / 438.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.3885, allocations: 1.518 MB / 439.7 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01681/0.4054, allocations: 9.425 MB / 449.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005063/0.4059, allocations: 152 kB / 449.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2387/0.6446, allocations: 10.12 MB / 459.4 MB, free: 24.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.6458, allocations: 0.5091 MB / 459.9 MB, free: 24.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.6475, allocations: 0.8633 MB / 460.8 MB, free: 24.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02177/0.6693, allocations: 7.033 MB / 467.8 MB, free: 24.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.6694, allocations: 3.188 kB / 467.8 MB, free: 24.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6694, allocations: 0.625 kB / 467.8 MB, free: 24.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-05/0.6695, allocations: 0.8438 kB / 467.8 MB, free: 24.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01138/0.6809, allocations: 2.865 MB / 470.7 MB, free: 22.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6809, allocations: 14.92 kB / 470.7 MB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/0.6852, allocations: 0.5652 MB / 471.2 MB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.6869, allocations: 1.004 MB / 472.2 MB, free: 22.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.58e-05/0.687, allocations: 85.88 kB / 472.3 MB, free: 22.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.6872, allocations: 110.1 kB / 472.4 MB, free: 22.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0049/0.6921, allocations: 2.218 MB / 474.7 MB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.6921, allocations: 5.5 kB / 474.7 MB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.6923, allocations: 47.33 kB / 474.7 MB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.6924, allocations: 85.03 kB / 474.8 MB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005193/0.6976, allocations: 2.321 MB / 477.1 MB, free: 22.23 MB / 382.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.01076/0.7084, allocations: 9.161 MB / 486.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.7129, allocations: 1.844 MB / 488.1 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.7142, allocations: 0.7785 MB / 488.9 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04165/0.7559, allocations: 24.55 MB / 0.5014 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/0.756, allocations: 47.44 kB / 0.5015 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001324/0.7573, allocations: 165.3 kB / 0.5016 GB, free: 13.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 3.226e-06/0.7573, allocations: 0 / 0.5016 GB, free: 13.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.01823/0.7756, allocations: 4.592 MB / 0.5061 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.7757, allocations: 218.6 kB / 0.5063 GB, free: 9.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.777, allocations: 0.9711 MB / 0.5073 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.7772, allocations: 48.89 kB / 0.5073 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.7776, allocations: 0.5579 MB / 0.5079 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.7779, allocations: 370.3 kB / 0.5082 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004353/0.7784, allocations: 274.2 kB / 0.5085 GB, free: 8.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7785, allocations: 356.2 kB / 0.5088 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.7798, allocations: 0.6591 MB / 0.5095 GB, free: 7.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.7816, allocations: 1.029 MB / 0.5105 GB, free: 6.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.7849, allocations: 1.683 MB / 0.5121 GB, free: 5.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.785, allocations: 4 kB / 0.5121 GB, free: 5.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004295/0.7893, allocations: 2.094 MB / 0.5141 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.7893, allocations: 8 kB / 0.5142 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.7893, allocations: 8 kB / 0.5142 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02913/0.8185, allocations: 3.012 MB / 0.5171 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.8198, allocations: 265.9 kB / 0.5174 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.8226, allocations: 1.465 MB / 0.5188 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.8244, allocations: 122.2 kB / 0.5189 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.8246, allocations: 68.78 kB / 0.519 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001747/0.8264, allocations: 0.8763 MB / 0.5198 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001483/0.8279, allocations: 1 MB / 0.5208 GB, free: 14.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002711/0.8306, allocations: 1.622 MB / 0.5224 GB, free: 12.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/0.8306, allocations: 4 kB / 0.5224 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.004977/0.8356, allocations: 1.964 MB / 0.5243 GB, free: 11.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.8356, allocations: 8 kB / 0.5243 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.8357, allocations: 15 kB / 0.5243 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/0.8365, allocations: 200.7 kB / 0.5245 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.838, allocations: 337.1 kB / 0.5248 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009106/0.8389, allocations: 0.751 MB / 0.5256 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.8404, allocations: 126.1 kB / 0.5257 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.8406, allocations: 67.66 kB / 0.5258 GB, free: 10.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,sink2.medium.phase,sink1.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,25)} Notification: Performance of prepare postOptimizeDAE: time 0.000475/0.841, allocations: 269.9 kB / 0.526 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.8413, allocations: 142.3 kB / 0.5262 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007468/0.8488, allocations: 5.601 MB / 0.5316 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.594e-05/0.8489, allocations: 59.91 kB / 0.5317 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.8489, allocations: 0 / 0.5317 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.8489, allocations: 11.92 kB / 0.5317 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.8592, allocations: 7.671 MB / 0.5392 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.8593, allocations: 0 / 0.5392 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.8601, allocations: 190.5 kB / 0.5394 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0234/0.8835, allocations: 2.937 MB / 0.5422 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002488/0.8838, allocations: 31.98 kB / 0.5423 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.8868, allocations: 2.385 MB / 0.5446 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.8869, allocations: 4 kB / 0.5446 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005906/0.8928, allocations: 3.632 MB / 0.5481 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008582/0.8937, allocations: 433.9 kB / 0.5486 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.8939, allocations: 98.97 kB / 0.5487 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.8949, allocations: 103.8 kB / 0.5488 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.8952, allocations: 97.17 kB / 0.5488 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/0.8953, allocations: 43.98 kB / 0.5489 GB, free: 3.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001495/0.8968, allocations: 1.077 MB / 0.5499 GB, free: 2.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8968, allocations: 0 / 0.5499 GB, free: 2.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00593/0.9027, allocations: 1.845 MB / 0.5517 GB, free: 0.7969 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006577/0.9093, allocations: 1.566 MB / 0.5533 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009243/0.9186, allocations: 3.309 MB / 0.5565 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.9186, allocations: 0 / 0.5565 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.9212, allocations: 1.494 MB / 0.558 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/0.9247, allocations: 0.719 MB / 0.5587 GB, free: 9.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/0.9315, allocations: 5.328 MB / 0.5639 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.9326, allocations: 1.578 MB / 0.5654 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002555/0.9352, allocations: 1.479 MB / 0.5668 GB, free: 1.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.9355, allocations: 115.4 kB / 0.567 GB, free: 1.402 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.9355, allocations: 0 / 0.567 GB, free: 1.402 MB / 446.1 MB Notification: Performance of Templates: time 0.2618/1.197, allocations: 70.78 MB / 0.6361 GB, free: 209.4 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1)