Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0007478/0.0007479, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.0009086/0.0009086, allocations: 182 kB / 17.56 MB, free: 6.203 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.589/1.589, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004509/0.0004511, allocations: 11.98 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.311/0.4147, allocations: 72.44 MB / 400.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03388/0.4487, allocations: 26.08 MB / 426.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.4515, allocations: 50.59 kB / 426.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.4541, allocations: 0.697 MB / 427.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02024/0.4743, allocations: 5.342 MB / 432.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01457/0.4889, allocations: 3.841 MB / 436.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00809/0.497, allocations: 4.931 MB / 441.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.4994, allocations: 0.8871 MB / 442.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.5035, allocations: 1.319 MB / 443.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01804/0.5216, allocations: 9.336 MB / 453.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005916/0.5222, allocations: 80 kB / 453.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0229/0.5451, allocations: 10.08 MB / 463.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.5464, allocations: 434.5 kB / 463.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.548, allocations: 0.8143 MB / 464.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02155/0.5695, allocations: 6.906 MB / 471.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5695, allocations: 0 / 471.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5696, allocations: 0 / 471.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.994e-05/0.5696, allocations: 0 / 471.5 MB, free: 10.57 MB / 366.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.009171/0.5788, allocations: 2.557 MB / 474.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5788, allocations: 8.031 kB / 474.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.5832, allocations: 0.5933 MB / 474.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.5853, allocations: 0.9995 MB / 475.7 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.5854, allocations: 94.08 kB / 475.8 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.5856, allocations: 108 kB / 475.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/0.5908, allocations: 2.264 MB / 478.1 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.5909, allocations: 4 kB / 478.2 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.591, allocations: 47.98 kB / 478.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.5911, allocations: 89.94 kB / 478.3 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005505/0.5967, allocations: 2.389 MB / 480.7 MB, free: 1.191 MB / 366.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.01226/0.6089, allocations: 9.208 MB / 489.9 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.6138, allocations: 1.931 MB / 491.8 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.6153, allocations: 0.8079 MB / 492.6 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0484/0.6637, allocations: 24.76 MB / 0.5053 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.207e-05/0.6638, allocations: 51.59 kB / 0.5053 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001239/0.665, allocations: 166.8 kB / 0.5055 GB, free: 8.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=109): time 3.727e-06/0.665, allocations: 4 kB / 0.5055 GB, free: 8.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.019/0.6841, allocations: 4.754 MB / 0.5101 GB, free: 3.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.6842, allocations: 218.6 kB / 0.5103 GB, free: 3.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.6855, allocations: 0.9709 MB / 0.5113 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.6856, allocations: 49.7 kB / 0.5113 GB, free: 2.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.686, allocations: 0.5579 MB / 0.5119 GB, free: 2.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.6863, allocations: 378.6 kB / 0.5122 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.6865, allocations: 105.7 kB / 0.5123 GB, free: 1.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6867, allocations: 353.9 kB / 0.5127 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.6881, allocations: 0.6779 MB / 0.5133 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.6897, allocations: 1.052 MB / 0.5144 GB, free: 15.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.6927, allocations: 1.734 MB / 0.516 GB, free: 13.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.6927, allocations: 7.938 kB / 0.5161 GB, free: 13.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004124/0.6969, allocations: 2.144 MB / 0.5181 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.6971, allocations: 381.8 kB / 0.5185 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.6971, allocations: 8 kB / 0.5185 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02942/0.7265, allocations: 3.071 MB / 0.5215 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.7278, allocations: 279.6 kB / 0.5218 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.7306, allocations: 1.489 MB / 0.5232 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.7323, allocations: 139.7 kB / 0.5234 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.7324, allocations: 71.97 kB / 0.5234 GB, free: 5.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7325, allocations: 4 kB / 0.5234 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004807/0.7373, allocations: 1.886 MB / 0.5253 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.7373, allocations: 12 kB / 0.5253 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008286/0.7381, allocations: 205.3 kB / 0.5255 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.7396, allocations: 351.5 kB / 0.5258 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008879/0.7405, allocations: 0.7475 MB / 0.5266 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.7418, allocations: 139.8 kB / 0.5267 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.7419, allocations: 67.97 kB / 0.5268 GB, free: 2.289 MB / 430.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.0008062/0.7428, allocations: 428.7 kB / 0.5272 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.743, allocations: 138.3 kB / 0.5273 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2009/0.9439, allocations: 5.675 MB / 0.5328 GB, free: 154.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.498e-05/0.944, allocations: 62.88 kB / 0.5329 GB, free: 154.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.944, allocations: 0.9375 kB / 0.5329 GB, free: 154.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.944, allocations: 9.844 kB / 0.5329 GB, free: 154.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.956, allocations: 7.746 MB / 0.5405 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.9561, allocations: 0 / 0.5405 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/0.9569, allocations: 211.9 kB / 0.5407 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03483/0.9918, allocations: 3.938 MB / 0.5445 GB, free: 151.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003786/0.9922, allocations: 31.16 kB / 0.5446 GB, free: 151.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005061/0.9973, allocations: 2.405 MB / 0.5469 GB, free: 149.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9973, allocations: 0 / 0.5469 GB, free: 149.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009635/1.007, allocations: 3.698 MB / 0.5505 GB, free: 148.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.009, allocations: 0.6522 MB / 0.5511 GB, free: 147.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/1.009, allocations: 19.53 kB / 0.5512 GB, free: 147.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.011, allocations: 121 kB / 0.5513 GB, free: 147.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/1.011, allocations: 100.6 kB / 0.5514 GB, free: 147.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.012, allocations: 49.05 kB / 0.5514 GB, free: 147.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002255/1.014, allocations: 1.081 MB / 0.5525 GB, free: 147.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.014, allocations: 3.094 kB / 0.5525 GB, free: 147.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008104/1.022, allocations: 1.835 MB / 0.5543 GB, free: 145.8 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.01025/1.032, allocations: 1.549 MB / 0.5558 GB, free: 144.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01217/1.044, allocations: 3.06 MB / 0.5588 GB, free: 141.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.045, allocations: 0 / 0.5588 GB, free: 141.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004635/1.049, allocations: 1.504 MB / 0.5602 GB, free: 140.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007641/1.057, allocations: 0.7014 MB / 0.5609 GB, free: 139.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.069, allocations: 5.391 MB / 0.5662 GB, free: 134 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/1.071, allocations: 1.58 MB / 0.5677 GB, free: 132.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004914/1.076, allocations: 1.489 MB / 0.5692 GB, free: 131 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/1.076, allocations: 111.4 kB / 0.5693 GB, free: 130.9 MB / 430.1 MB Notification: Performance of SimCode: time 2.515e-06/1.076, allocations: 0 / 0.5693 GB, free: 130.9 MB / 430.1 MB Notification: Performance of Templates: time 0.1476/1.224, allocations: 68.77 MB / 0.6365 GB, free: 62.01 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1)