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.0009433/0.000943, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0009309/0.0009309, allocations: 183.3 kB / 17.2 MB, free: 6.34 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.71/1.71, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0005359/0.0005361, allocations: 12 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1093, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2967/0.406, allocations: 60.85 MB / 388.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03025/0.4363, allocations: 21.65 MB / 410.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.4387, allocations: 44.5 kB / 410.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.4412, allocations: 0.6854 MB / 410.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02006/0.4613, allocations: 5.065 MB / 416 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.474, allocations: 3.597 MB / 419.6 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004912/0.4789, allocations: 2.069 MB / 421.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.4803, allocations: 0.8658 MB / 422.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.483, allocations: 1.26 MB / 423.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02156/0.5046, allocations: 14.93 MB / 438.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004881/0.5051, allocations: 80 kB / 438.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02352/0.5286, allocations: 11.12 MB / 449.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000895/0.5295, allocations: 406.8 kB / 450.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008556/0.5304, allocations: 321 kB / 450.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.542, allocations: 4.775 MB / 455.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.542, allocations: 0 / 455.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.728e-06/0.542, allocations: 4 kB / 455.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.994e-05/0.5421, allocations: 3.938 kB / 455.4 MB, free: 9.09 MB / 350.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.009081/0.5512, allocations: 2.568 MB / 457.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/0.5512, allocations: 12.03 kB / 458 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.5562, allocations: 0.5857 MB / 458.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.5585, allocations: 0.9648 MB / 459.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.5586, allocations: 91.86 kB / 459.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.5588, allocations: 107.9 kB / 459.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/0.5637, allocations: 2.256 MB / 462 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.5637, allocations: 0 / 462 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.5639, allocations: 51.97 kB / 462 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.564, allocations: 89.95 kB / 462.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00539/0.5694, allocations: 2.381 MB / 464.5 MB, free: 15.76 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.01394/0.5833, allocations: 9.256 MB / 473.7 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004995/0.5883, allocations: 1.928 MB / 475.7 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04835/0.6367, allocations: 24.77 MB / 0.4887 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.6368, allocations: 55.55 kB / 0.4888 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001106/0.6379, allocations: 170.7 kB / 0.4889 GB, free: 8.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 3.646e-06/0.638, allocations: 0 / 0.4889 GB, free: 8.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.01792/0.6559, allocations: 4.716 MB / 0.4935 GB, free: 3.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.6561, allocations: 226.6 kB / 0.4937 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.6573, allocations: 0.9631 MB / 0.4947 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.6575, allocations: 41.7 kB / 0.4947 GB, free: 1.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.6579, allocations: 0.5618 MB / 0.4953 GB, free: 1.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.6582, allocations: 374.6 kB / 0.4956 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.6583, allocations: 28 kB / 0.4957 GB, free: 1.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6584, allocations: 353.9 kB / 0.496 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.6597, allocations: 0.6623 MB / 0.4966 GB, free: 8 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.6612, allocations: 1.029 MB / 0.4976 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.6627, allocations: 0.7799 MB / 0.4984 GB, free: 14.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6627, allocations: 0 / 0.4984 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003951/0.6667, allocations: 2.113 MB / 0.5005 GB, free: 11.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001325/0.668, allocations: 3.745 MB / 0.5041 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.668, allocations: 8 kB / 0.5041 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0262/0.6942, allocations: 3.064 MB / 0.5071 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.6955, allocations: 271.6 kB / 0.5074 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.6981, allocations: 1.489 MB / 0.5088 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.6997, allocations: 139.7 kB / 0.509 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.6998, allocations: 67.97 kB / 0.509 GB, free: 2.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6998, allocations: 4 kB / 0.509 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004803/0.7047, allocations: 1.863 MB / 0.5109 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.7047, allocations: 19.89 kB / 0.5109 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/0.7055, allocations: 203.3 kB / 0.5111 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.707, allocations: 347.5 kB / 0.5114 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.7082, allocations: 0.7475 MB / 0.5121 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.7096, allocations: 135.8 kB / 0.5123 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.7098, allocations: 67.97 kB / 0.5123 GB, free: 15.43 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,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0007981/0.7106, allocations: 436.6 kB / 0.5127 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.7108, allocations: 134.3 kB / 0.5129 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007995/0.7188, allocations: 5.687 MB / 0.5184 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/0.7189, allocations: 63.84 kB / 0.5185 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.7189, allocations: 3.953 kB / 0.5185 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.7189, allocations: 3.984 kB / 0.5185 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.7301, allocations: 7.726 MB / 0.526 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.7302, allocations: 11.98 kB / 0.5261 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/0.731, allocations: 203.8 kB / 0.5262 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02333/0.7544, allocations: 3.936 MB / 0.5301 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/0.7547, allocations: 31.98 kB / 0.5301 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.7579, allocations: 2.404 MB / 0.5325 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.7579, allocations: 0 / 0.5325 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005863/0.7638, allocations: 3.695 MB / 0.5361 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.765, allocations: 0.6412 MB / 0.5367 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.7652, allocations: 24 kB / 0.5367 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.7662, allocations: 123.8 kB / 0.5368 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.7664, allocations: 105.1 kB / 0.5369 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.625e-05/0.7665, allocations: 39.98 kB / 0.537 GB, free: 5.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00144/0.768, allocations: 1.065 MB / 0.538 GB, free: 4.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.768, allocations: 0 / 0.538 GB, free: 4.852 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005108/0.7731, allocations: 1.862 MB / 0.5398 GB, free: 2.988 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.005669/0.7788, allocations: 1.539 MB / 0.5413 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1678/0.9466, allocations: 3.041 MB / 0.5443 GB, free: 172.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.9467, allocations: 7.219 kB / 0.5443 GB, free: 172.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002928/0.9496, allocations: 1.49 MB / 0.5458 GB, free: 172.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/0.9531, allocations: 0.6722 MB / 0.5464 GB, free: 172.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/0.9606, allocations: 5.319 MB / 0.5516 GB, free: 169.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.9619, allocations: 1.629 MB / 0.5532 GB, free: 168.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003001/0.965, allocations: 1.483 MB / 0.5547 GB, free: 168.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.9653, allocations: 113.8 kB / 0.5548 GB, free: 168.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.9653, allocations: 3 kB / 0.5548 GB, free: 168.6 MB / 446.1 MB Notification: Performance of Templates: time 0.08024/1.046, allocations: 68.33 MB / 0.6215 GB, free: 107.3 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: