Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008772/0.000877, allocations: 95.38 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009774/0.0009775, allocations: 204.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002645, allocations: 11.98 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2837/0.4026, allocations: 60.97 MB / 419.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02865/0.4313, allocations: 21.68 MB / 440.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.4335, allocations: 47.56 kB / 440.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.4358, allocations: 0.6805 MB / 441.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01786/0.4536, allocations: 5.096 MB / 446.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01281/0.4665, allocations: 3.612 MB / 450.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004351/0.4708, allocations: 2.079 MB / 452.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.4724, allocations: 0.8729 MB / 453.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.4753, allocations: 1.273 MB / 454.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02317/0.4984, allocations: 14.92 MB / 469.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000508/0.499, allocations: 80 kB / 469.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02266/0.5217, allocations: 11.14 MB / 480.6 MB, free: 1.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009502/0.5227, allocations: 406.7 kB / 481 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006755/0.5233, allocations: 321 kB / 481.3 MB, free: 428 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.5345, allocations: 4.802 MB / 486.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5345, allocations: 0 / 486.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5346, allocations: 0 / 486.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.5346, allocations: 0 / 486.1 MB, free: 11.61 MB / 398.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.008711/0.5433, allocations: 2.58 MB / 488.7 MB, free: 8.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5433, allocations: 8.031 kB / 488.7 MB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002825/0.5436, allocations: 173.1 kB / 488.9 MB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/0.5478, allocations: 0.5953 MB / 489.5 MB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.5496, allocations: 0.9609 MB / 490.5 MB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.5497, allocations: 110 kB / 490.6 MB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.5499, allocations: 99.98 kB / 490.7 MB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/0.5556, allocations: 2.252 MB / 492.9 MB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.5556, allocations: 4 kB / 492.9 MB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.5558, allocations: 47.98 kB / 493 MB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.5559, allocations: 90 kB / 493.1 MB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005402/0.5613, allocations: 2.389 MB / 495.4 MB, free: 2.059 MB / 398.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.01311/0.5744, allocations: 9.257 MB / 0.4929 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004962/0.5794, allocations: 1.928 MB / 0.4948 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05201/0.6315, allocations: 27.34 MB / 0.5215 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.273e-05/0.6316, allocations: 47.56 kB / 0.5215 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001185/0.6328, allocations: 174.7 kB / 0.5217 GB, free: 7.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=109): time 3.857e-06/0.6328, allocations: 0 / 0.5217 GB, free: 7.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.01814/0.6509, allocations: 4.716 MB / 0.5263 GB, free: 2.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.6511, allocations: 226.6 kB / 0.5265 GB, free: 2.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.6524, allocations: 0.9669 MB / 0.5274 GB, free: 1.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.6526, allocations: 41.7 kB / 0.5275 GB, free: 1.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.653, allocations: 0.5579 MB / 0.528 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.6534, allocations: 370.6 kB / 0.5284 GB, free: 256 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.6534, allocations: 28 kB / 0.5284 GB, free: 228 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2209/0.8743, allocations: 353.9 kB / 0.5287 GB, free: 151 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.8764, allocations: 0.6577 MB / 0.5294 GB, free: 151 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.8784, allocations: 1.023 MB / 0.5304 GB, free: 150.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.8803, allocations: 0.7761 MB / 0.5311 GB, free: 150.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.8803, allocations: 2.562 kB / 0.5311 GB, free: 150.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004547/0.8848, allocations: 2.108 MB / 0.5332 GB, free: 150.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007296/0.8856, allocations: 3.748 MB / 0.5369 GB, free: 146.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.8856, allocations: 9.594 kB / 0.5369 GB, free: 146.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0294/0.915, allocations: 3.198 MB / 0.54 GB, free: 146.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.9165, allocations: 278 kB / 0.5403 GB, free: 146.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.9193, allocations: 1.48 MB / 0.5417 GB, free: 145.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.921, allocations: 138 kB / 0.5418 GB, free: 145.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.9212, allocations: 73.48 kB / 0.5419 GB, free: 145.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9212, allocations: 4.312 kB / 0.5419 GB, free: 145.2 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004935/0.9261, allocations: 1.865 MB / 0.5437 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.9262, allocations: 13.52 kB / 0.5437 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/0.9271, allocations: 196.9 kB / 0.5439 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.9286, allocations: 349.5 kB / 0.5443 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000827/0.9294, allocations: 0.757 MB / 0.545 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.9308, allocations: 134.8 kB / 0.5451 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.9309, allocations: 74.88 kB / 0.5452 GB, free: 143.8 MB / 446.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.0007636/0.9317, allocations: 427 kB / 0.5456 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.932, allocations: 133.5 kB / 0.5457 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007355/0.9393, allocations: 5.701 MB / 0.5513 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/0.9394, allocations: 57.95 kB / 0.5514 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.9394, allocations: 3.969 kB / 0.5514 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.9394, allocations: 11.83 kB / 0.5514 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009346/0.9488, allocations: 7.741 MB / 0.5589 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.9488, allocations: 0 / 0.5589 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.9496, allocations: 206.5 kB / 0.5591 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02461/0.9742, allocations: 4.07 MB / 0.5631 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/0.9745, allocations: 28 kB / 0.5631 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.9772, allocations: 2.391 MB / 0.5655 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.9772, allocations: 0 / 0.5655 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004879/0.9821, allocations: 3.707 MB / 0.5691 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.9832, allocations: 0.645 MB / 0.5697 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.9834, allocations: 20 kB / 0.5697 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009807/0.9844, allocations: 127.8 kB / 0.5699 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.9846, allocations: 97.97 kB / 0.5699 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-05/0.9847, allocations: 47.94 kB / 0.57 GB, free: 127.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001168/0.9858, allocations: 1.062 MB / 0.571 GB, free: 126.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9859, allocations: 0 / 0.571 GB, free: 126.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006095/0.992, allocations: 1.864 MB / 0.5729 GB, free: 124.8 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.01052/1.002, allocations: 5.391 MB / 0.5781 GB, free: 119.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006234/1.009, allocations: 3.043 MB / 0.5811 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.009, allocations: 0 / 0.5811 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/1.011, allocations: 1.496 MB / 0.5825 GB, free: 115.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/1.014, allocations: 0.6788 MB / 0.5832 GB, free: 114.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.025, allocations: 13.32 MB / 0.5962 GB, free: 100.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/1.025, allocations: 1.625 MB / 0.5978 GB, free: 99.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002388/1.028, allocations: 1.481 MB / 0.5993 GB, free: 97.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/1.029, allocations: 0.8039 MB / 0.6 GB, free: 96.97 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/1.029, allocations: 0 / 0.6 GB, free: 96.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2235/1.252, allocations: 87.55 MB / 0.6855 GB, free: 9.703 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/1.252, allocations: 243.1 kB / 0.6858 GB, free: 9.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.291/7.543, allocations: 0 / 0.6858 GB, free: 9.43 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_InverseParameterization_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_InverseParameterization.fmu > Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat