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.00139/0.00139, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001475/0.001476, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.532/1.532, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.001182/0.001183, allocations: 52.39 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2166, allocations: 46.63 MB / 324.8 MB, free: 2.277 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.06301/0.2796, allocations: 72.85 MB / 397.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03197/0.3116, allocations: 25.29 MB / 423 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.3139, allocations: 55.56 kB / 423 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.316, allocations: 0.6956 MB / 423.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01762/0.3336, allocations: 5.743 MB / 429.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.3455, allocations: 4.081 MB / 433.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005498/0.3511, allocations: 3.61 MB / 437.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.3527, allocations: 1.009 MB / 438.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.3556, allocations: 1.522 MB / 439.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01683/0.3725, allocations: 9.418 MB / 449.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005718/0.3731, allocations: 160 kB / 449.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2468/0.6199, allocations: 10.12 MB / 459.4 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007082/0.6206, allocations: 0.506 MB / 459.9 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.6219, allocations: 0.8628 MB / 460.8 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.6344, allocations: 7.029 MB / 467.8 MB, free: 24.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6344, allocations: 5.531 kB / 467.8 MB, free: 24.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6344, allocations: 2.672 kB / 467.8 MB, free: 24.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.6344, allocations: 0.6562 kB / 467.8 MB, free: 24.2 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.007982/0.6424, allocations: 2.872 MB / 470.7 MB, free: 23.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6425, allocations: 14.27 kB / 470.7 MB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004172/0.6467, allocations: 0.5662 MB / 471.2 MB, free: 22.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.6481, allocations: 0.9979 MB / 472.2 MB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/0.6482, allocations: 90.8 kB / 472.3 MB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.6484, allocations: 108 kB / 472.4 MB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004648/0.653, allocations: 2.219 MB / 474.7 MB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.6531, allocations: 5.906 kB / 474.7 MB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.6532, allocations: 48.72 kB / 474.7 MB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.1e-05/0.6533, allocations: 84.7 kB / 474.8 MB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004959/0.6583, allocations: 2.316 MB / 477.1 MB, free: 22.25 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.01049/0.6688, allocations: 9.169 MB / 486.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/0.6732, allocations: 1.844 MB / 488.1 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.6745, allocations: 0.7694 MB / 488.9 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0416/0.7161, allocations: 24.56 MB / 0.5014 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.7162, allocations: 47.44 kB / 0.5015 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/0.7174, allocations: 160.1 kB / 0.5016 GB, free: 14.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 3.045e-06/0.7174, allocations: 0 / 0.5016 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.0169/0.7343, allocations: 4.587 MB / 0.5061 GB, free: 10.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.7344, allocations: 222 kB / 0.5063 GB, free: 10.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.7356, allocations: 0.9821 MB / 0.5073 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.7357, allocations: 42.02 kB / 0.5073 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.7361, allocations: 0.5675 MB / 0.5079 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.7364, allocations: 361.8 kB / 0.5082 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/0.7368, allocations: 276.1 kB / 0.5085 GB, free: 8.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.737, allocations: 355.9 kB / 0.5088 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.7382, allocations: 0.6631 MB / 0.5094 GB, free: 7.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.7398, allocations: 1.031 MB / 0.5105 GB, free: 7.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.7426, allocations: 1.682 MB / 0.5121 GB, free: 5.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7426, allocations: 0 / 0.5121 GB, free: 5.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003926/0.7465, allocations: 2.09 MB / 0.5141 GB, free: 4.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7466, allocations: 15.22 kB / 0.5142 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.7466, allocations: 10.5 kB / 0.5142 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02881/0.7754, allocations: 3.006 MB / 0.5171 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.7766, allocations: 263.7 kB / 0.5174 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.7793, allocations: 1.466 MB / 0.5188 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.7809, allocations: 123 kB / 0.5189 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.781, allocations: 71.47 kB / 0.519 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001663/0.7827, allocations: 0.8782 MB / 0.5198 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001476/0.7842, allocations: 0.9969 MB / 0.5208 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00265/0.7869, allocations: 1.624 MB / 0.5224 GB, free: 13.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.763e-06/0.7869, allocations: 4 kB / 0.5224 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.005284/0.7922, allocations: 1.96 MB / 0.5243 GB, free: 11.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7922, allocations: 8 kB / 0.5243 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.7922, allocations: 12 kB / 0.5243 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008373/0.7931, allocations: 204.3 kB / 0.5245 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.7945, allocations: 330.2 kB / 0.5248 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008664/0.7954, allocations: 0.7607 MB / 0.5256 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7967, allocations: 122 kB / 0.5257 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.7968, allocations: 70.28 kB / 0.5258 GB, free: 10.52 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.000521/0.7974, allocations: 276.8 kB / 0.526 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/0.7978, allocations: 134.3 kB / 0.5262 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008345/0.8061, allocations: 5.59 MB / 0.5316 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-05/0.8062, allocations: 59.91 kB / 0.5317 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8062, allocations: 4 kB / 0.5317 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.8063, allocations: 15.56 kB / 0.5317 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.8182, allocations: 7.684 MB / 0.5392 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.8182, allocations: 0 / 0.5392 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/0.8191, allocations: 186.2 kB / 0.5394 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02446/0.8436, allocations: 2.939 MB / 0.5422 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/0.8439, allocations: 31.98 kB / 0.5423 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.847, allocations: 2.386 MB / 0.5446 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.847, allocations: 0 / 0.5446 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.8528, allocations: 3.631 MB / 0.5481 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/0.8536, allocations: 437.9 kB / 0.5486 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.8539, allocations: 86.97 kB / 0.5486 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.8549, allocations: 115.7 kB / 0.5488 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.8551, allocations: 96.55 kB / 0.5488 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/0.8552, allocations: 47.98 kB / 0.5489 GB, free: 4.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001344/0.8566, allocations: 1.077 MB / 0.5499 GB, free: 3.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8566, allocations: 0 / 0.5499 GB, free: 3.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005108/0.8617, allocations: 1.833 MB / 0.5517 GB, free: 1.285 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.006047/0.8678, allocations: 1.571 MB / 0.5533 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008755/0.8765, allocations: 3.308 MB / 0.5565 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.8766, allocations: 4 kB / 0.5565 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002626/0.8792, allocations: 1.486 MB / 0.558 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/0.8827, allocations: 0.7314 MB / 0.5587 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.8893, allocations: 5.325 MB / 0.5639 GB, free: 5.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009528/0.8903, allocations: 1.582 MB / 0.5654 GB, free: 3.465 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002504/0.8928, allocations: 1.481 MB / 0.5669 GB, free: 1.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.8931, allocations: 111.4 kB / 0.567 GB, free: 1.883 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.8932, allocations: 0 / 0.567 GB, free: 1.883 MB / 446.1 MB Notification: Performance of Templates: time 0.2433/1.136, allocations: 70.77 MB / 0.6361 GB, free: 209.7 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)