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.001409/0.001409, 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.00151/0.00151, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.501/1.501, allocations: 205.1 MB / 222 MB, free: 4.727 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.001116/0.001116, allocations: 55.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2365, allocations: 46.62 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.06673/0.3033, allocations: 73.72 MB / 398.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03113/0.3345, allocations: 26.49 MB / 424.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.3365, allocations: 47.62 kB / 424.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.3387, allocations: 0.6877 MB / 425.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0165/0.3552, allocations: 5.336 MB / 431 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01117/0.3664, allocations: 3.858 MB / 434.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00587/0.3723, allocations: 4.924 MB / 439.7 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.3737, allocations: 0.8909 MB / 440.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.3763, allocations: 1.327 MB / 442 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01977/0.3961, allocations: 9.355 MB / 451.3 MB, free: 4.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004994/0.3966, allocations: 84 kB / 451.4 MB, free: 4.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2153/0.6119, allocations: 10.06 MB / 461.5 MB, free: 22.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000798/0.6128, allocations: 449.8 kB / 461.9 MB, free: 22.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.614, allocations: 0.785 MB / 462.7 MB, free: 22.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.6309, allocations: 6.955 MB / 469.6 MB, free: 22.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6309, allocations: 0 / 469.6 MB, free: 22.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6309, allocations: 1.25 kB / 469.6 MB, free: 22.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.6309, allocations: 0 / 469.6 MB, free: 22.8 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.01419/0.6451, allocations: 2.874 MB / 472.5 MB, free: 21.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.6452, allocations: 9.719 kB / 472.5 MB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.6498, allocations: 0.5637 MB / 473.1 MB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.6518, allocations: 1.004 MB / 474.1 MB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.6519, allocations: 94.67 kB / 474.2 MB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.6521, allocations: 105.4 kB / 474.3 MB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005139/0.6572, allocations: 2.215 MB / 476.5 MB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.6573, allocations: 7.094 kB / 476.5 MB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.6574, allocations: 51.38 kB / 476.6 MB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.6576, allocations: 83.06 kB / 476.6 MB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005141/0.6627, allocations: 2.321 MB / 479 MB, free: 20.86 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.01121/0.6739, allocations: 9.155 MB / 488.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.6786, allocations: 1.854 MB / 490 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.6801, allocations: 0.772 MB / 490.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04337/0.7235, allocations: 24.56 MB / 0.5032 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.7236, allocations: 53.62 kB / 0.5033 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001253/0.7249, allocations: 167.2 kB / 0.5034 GB, free: 11.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 3.196e-06/0.7249, allocations: 0 / 0.5034 GB, free: 11.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.01822/0.7431, allocations: 4.592 MB / 0.5079 GB, free: 7.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.7433, allocations: 222.6 kB / 0.5081 GB, free: 7.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.7446, allocations: 0.9706 MB / 0.5091 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.7447, allocations: 47.14 kB / 0.5091 GB, free: 6.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.7451, allocations: 0.5614 MB / 0.5097 GB, free: 6.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.7454, allocations: 378.5 kB / 0.51 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004349/0.7459, allocations: 270.6 kB / 0.5103 GB, free: 5.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.746, allocations: 353.6 kB / 0.5106 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.7473, allocations: 0.6588 MB / 0.5113 GB, free: 4.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.749, allocations: 1.024 MB / 0.5123 GB, free: 4.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.7519, allocations: 1.681 MB / 0.5139 GB, free: 2.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.7519, allocations: 5.531 kB / 0.5139 GB, free: 2.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004183/0.7561, allocations: 2.09 MB / 0.516 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.7562, allocations: 12 kB / 0.516 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.7562, allocations: 8.844 kB / 0.516 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02981/0.786, allocations: 3.005 MB / 0.5189 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.7873, allocations: 268.6 kB / 0.5192 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.7903, allocations: 1.465 MB / 0.5206 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.792, allocations: 129 kB / 0.5207 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.7922, allocations: 70.97 kB / 0.5208 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001854/0.794, allocations: 0.8763 MB / 0.5216 GB, free: 12.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001637/0.7957, allocations: 0.9913 MB / 0.5226 GB, free: 11.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002925/0.7986, allocations: 1.632 MB / 0.5242 GB, free: 10.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5e-06/0.7986, allocations: 0 / 0.5242 GB, free: 10.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.005184/0.8038, allocations: 1.97 MB / 0.5261 GB, free: 8.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.8039, allocations: 8 kB / 0.5261 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.8039, allocations: 15.19 kB / 0.5261 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009099/0.8048, allocations: 191.7 kB / 0.5263 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.8063, allocations: 337.1 kB / 0.5267 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009689/0.8073, allocations: 0.7589 MB / 0.5274 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.8089, allocations: 121.4 kB / 0.5275 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.809, allocations: 70.97 kB / 0.5276 GB, free: 7.539 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.0004934/0.8095, allocations: 275.3 kB / 0.5278 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.8099, allocations: 142.2 kB / 0.528 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007752/0.8176, allocations: 5.592 MB / 0.5334 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/0.8177, allocations: 59.91 kB / 0.5335 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.8177, allocations: 0 / 0.5335 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.8178, allocations: 11.91 kB / 0.5335 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.8292, allocations: 7.673 MB / 0.541 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8292, allocations: 4 kB / 0.541 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008828/0.8301, allocations: 187 kB / 0.5412 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02663/0.8568, allocations: 3.899 MB / 0.545 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/0.8571, allocations: 31.98 kB / 0.545 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.8604, allocations: 2.389 MB / 0.5473 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8604, allocations: 0 / 0.5473 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006026/0.8664, allocations: 3.629 MB / 0.5509 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/0.8674, allocations: 437.9 kB / 0.5513 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.8677, allocations: 86.97 kB / 0.5514 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.8687, allocations: 114.4 kB / 0.5515 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.869, allocations: 107.9 kB / 0.5516 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/0.8691, allocations: 39.98 kB / 0.5516 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.8705, allocations: 1.077 MB / 0.5527 GB, free: 15.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8705, allocations: 0 / 0.5527 GB, free: 15.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005195/0.8757, allocations: 1.837 MB / 0.5545 GB, free: 13.64 MB / 446.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.00552/0.8813, allocations: 1.571 MB / 0.556 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006792/0.8881, allocations: 2.983 MB / 0.5589 GB, free: 9.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.8881, allocations: 0 / 0.5589 GB, free: 9.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.8907, allocations: 1.48 MB / 0.5604 GB, free: 7.836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/0.8942, allocations: 0.693 MB / 0.5611 GB, free: 7.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/0.901, allocations: 5.324 MB / 0.5663 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009934/0.902, allocations: 1.582 MB / 0.5678 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002514/0.9045, allocations: 1.481 MB / 0.5692 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.9049, allocations: 111.4 kB / 0.5694 GB, free: 14.61 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.9049, allocations: 0 / 0.5694 GB, free: 14.61 MB / 462.1 MB Notification: Performance of Templates: time 0.2251/1.13, allocations: 69.13 MB / 0.6369 GB, free: 209.2 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)