Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008397/0.0008401, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005229/0.005229, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.617/1.617, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.0004911/0.0004912, allocations: 8 kB / 279.4 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2936, allocations: 47.58 MB / 327 MB, free: 1.59 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.07098/0.3647, allocations: 72.44 MB / 399.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03369/0.3984, allocations: 26.08 MB / 425.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.4007, allocations: 47.56 kB / 425.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.4029, allocations: 0.6995 MB / 426.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01776/0.4207, allocations: 5.336 MB / 431.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.4322, allocations: 3.847 MB / 435.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006308/0.4385, allocations: 4.928 MB / 440.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.4402, allocations: 0.8948 MB / 441.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003008/0.4432, allocations: 1.319 MB / 442.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01754/0.4608, allocations: 9.351 MB / 452 MB, free: 6.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005517/0.4614, allocations: 80 kB / 452 MB, free: 6.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2601/0.7215, allocations: 10.06 MB / 462.1 MB, free: 23.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000995/0.7226, allocations: 441.8 kB / 462.5 MB, free: 23.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.7239, allocations: 0.8089 MB / 463.3 MB, free: 23.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01846/0.7423, allocations: 6.899 MB / 470.2 MB, free: 23.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7424, allocations: 0 / 470.2 MB, free: 23.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7424, allocations: 0 / 470.2 MB, free: 23.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.186e-05/0.7424, allocations: 4.812 kB / 470.2 MB, free: 23.37 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.009559/0.752, allocations: 2.55 MB / 472.8 MB, free: 22.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7521, allocations: 9.781 kB / 472.8 MB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.7565, allocations: 0.5938 MB / 473.4 MB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.7584, allocations: 0.9931 MB / 474.4 MB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.375e-05/0.7585, allocations: 97.94 kB / 474.5 MB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.7587, allocations: 104.2 kB / 474.6 MB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004859/0.7636, allocations: 2.264 MB / 476.9 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.7636, allocations: 8.953 kB / 476.9 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.7638, allocations: 52.34 kB / 476.9 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.7639, allocations: 83.53 kB / 477 MB, free: 21.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005492/0.7694, allocations: 2.394 MB / 479.4 MB, free: 21.48 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.01197/0.7814, allocations: 9.19 MB / 488.6 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004748/0.7862, allocations: 1.935 MB / 490.5 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.7875, allocations: 0.7973 MB / 491.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04637/0.8339, allocations: 24.76 MB / 0.504 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.25e-05/0.834, allocations: 55.3 kB / 0.504 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001473/0.8355, allocations: 169.1 kB / 0.5042 GB, free: 12.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 3.828e-06/0.8355, allocations: 4 kB / 0.5042 GB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.01858/0.8541, allocations: 4.748 MB / 0.5088 GB, free: 8.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.8543, allocations: 222.5 kB / 0.509 GB, free: 8.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.8559, allocations: 0.9764 MB / 0.51 GB, free: 7.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.8561, allocations: 44.64 kB / 0.51 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.8565, allocations: 0.5588 MB / 0.5106 GB, free: 7.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.8569, allocations: 373.8 kB / 0.5109 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.8571, allocations: 111.1 kB / 0.5111 GB, free: 6.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.8573, allocations: 353.8 kB / 0.5114 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.8587, allocations: 0.6771 MB / 0.512 GB, free: 6.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.8604, allocations: 1.054 MB / 0.5131 GB, free: 5.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.8635, allocations: 1.731 MB / 0.5148 GB, free: 3.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.8635, allocations: 6.812 kB / 0.5148 GB, free: 3.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004224/0.8678, allocations: 2.153 MB / 0.5169 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.868, allocations: 380.7 kB / 0.5172 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.8681, allocations: 12 kB / 0.5173 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02952/0.8976, allocations: 3.076 MB / 0.5203 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.8989, allocations: 269.6 kB / 0.5205 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.9017, allocations: 1.487 MB / 0.522 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.9034, allocations: 135 kB / 0.5221 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.9036, allocations: 75.06 kB / 0.5222 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.9036, allocations: 7.938 kB / 0.5222 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004751/0.9084, allocations: 1.884 MB / 0.524 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.9084, allocations: 19.27 kB / 0.524 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008293/0.9093, allocations: 195.3 kB / 0.5242 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.9107, allocations: 349.4 kB / 0.5246 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008781/0.9116, allocations: 0.7503 MB / 0.5253 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.9131, allocations: 137.5 kB / 0.5254 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.9133, allocations: 67.84 kB / 0.5255 GB, free: 10.82 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.0008721/0.9141, allocations: 437.3 kB / 0.5259 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.9144, allocations: 130.4 kB / 0.526 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007653/0.9221, allocations: 5.677 MB / 0.5316 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.356e-05/0.9221, allocations: 59.28 kB / 0.5316 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.9222, allocations: 0 / 0.5316 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.9222, allocations: 7.969 kB / 0.5316 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.933, allocations: 7.761 MB / 0.5392 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.9331, allocations: 4 kB / 0.5392 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.9339, allocations: 206.9 kB / 0.5394 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02612/0.9601, allocations: 3.945 MB / 0.5433 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/0.9604, allocations: 31.98 kB / 0.5433 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.9638, allocations: 2.393 MB / 0.5456 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.9638, allocations: 7.938 kB / 0.5456 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006778/0.9706, allocations: 3.696 MB / 0.5492 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.9719, allocations: 0.6411 MB / 0.5499 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.9721, allocations: 27.55 kB / 0.5499 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.9731, allocations: 127.8 kB / 0.55 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.9734, allocations: 93.17 kB / 0.5501 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-05/0.9735, allocations: 47.97 kB / 0.5502 GB, free: 5.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001653/0.9752, allocations: 1.073 MB / 0.5512 GB, free: 4.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9752, allocations: 0 / 0.5512 GB, free: 4.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007085/0.9823, allocations: 1.841 MB / 0.553 GB, free: 2.684 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.006864/0.9891, allocations: 1.564 MB / 0.5545 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007272/0.9964, allocations: 3.059 MB / 0.5575 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9965, allocations: 0.9375 kB / 0.5575 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002801/0.9993, allocations: 1.5 MB / 0.559 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/1.003, allocations: 0.7001 MB / 0.5597 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/1.011, allocations: 5.402 MB / 0.5649 GB, free: 6.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.012, allocations: 1.582 MB / 0.5665 GB, free: 5.047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002659/1.015, allocations: 1.484 MB / 0.5679 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/1.015, allocations: 111.4 kB / 0.568 GB, free: 3.477 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/1.015, allocations: 0 / 0.568 GB, free: 3.477 MB / 446.1 MB Notification: Performance of Templates: time 0.2815/1.297, allocations: 68.76 MB / 0.6352 GB, free: 210 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1)