Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 95.7 kB / 16.3 MB, free: 5.621 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.001281/0.001281, allocations: 182.7 kB / 17.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 241.1 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002761, allocations: 8 kB / 300.8 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 50.41 MB / 351.2 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.3065/0.4154, allocations: 60.88 MB / 412.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02901/0.4445, allocations: 21.67 MB / 433.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.4469, allocations: 47.56 kB / 433.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.4493, allocations: 0.6881 MB / 434.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01733/0.4667, allocations: 5.076 MB / 439.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01197/0.4787, allocations: 3.613 MB / 443.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006231/0.4849, allocations: 2.083 MB / 445.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.4867, allocations: 0.8532 MB / 446.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.4899, allocations: 1.273 MB / 447.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02247/0.5124, allocations: 14.91 MB / 462.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004717/0.5129, allocations: 84 kB / 462.4 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0229/0.5358, allocations: 11.12 MB / 473.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000853/0.5367, allocations: 410.8 kB / 473.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007001/0.5374, allocations: 321 kB / 474.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.5492, allocations: 4.786 MB / 479 MB, free: 4.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5493, allocations: 0 / 479 MB, free: 4.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.302e-06/0.5493, allocations: 0 / 479 MB, free: 4.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.5493, allocations: 3.938 kB / 479 MB, free: 4.961 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.009525/0.5589, allocations: 2.576 MB / 481.6 MB, free: 2.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5589, allocations: 8.031 kB / 481.6 MB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003283/0.5593, allocations: 177.1 kB / 481.8 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.5635, allocations: 0.5914 MB / 482.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.5656, allocations: 0.9648 MB / 483.3 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.5657, allocations: 98.08 kB / 483.4 MB, free: 448 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.5659, allocations: 104 kB / 483.5 MB, free: 344 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005134/0.5711, allocations: 2.248 MB / 485.8 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.5711, allocations: 3.938 kB / 485.8 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.5713, allocations: 59.92 kB / 485.8 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.5714, allocations: 82 kB / 485.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/0.5769, allocations: 2.389 MB / 488.3 MB, free: 11.42 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.01404/0.591, allocations: 9.25 MB / 497.6 MB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004904/0.5959, allocations: 1.92 MB / 499.5 MB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04968/0.6456, allocations: 24.78 MB / 0.512 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.6457, allocations: 47.59 kB / 0.512 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001182/0.6469, allocations: 178.7 kB / 0.5122 GB, free: 3.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=109): time 5.951e-06/0.6469, allocations: 0 / 0.5122 GB, free: 3.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=109): time 0.01927/0.6662, allocations: 4.724 MB / 0.5168 GB, free: 14.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.6663, allocations: 218.6 kB / 0.517 GB, free: 14.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.6678, allocations: 0.963 MB / 0.518 GB, free: 13.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.668, allocations: 45.7 kB / 0.518 GB, free: 13.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/0.6685, allocations: 0.554 MB / 0.5185 GB, free: 13.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.669, allocations: 374.6 kB / 0.5189 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.6691, allocations: 28 kB / 0.5189 GB, free: 12.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6692, allocations: 357.9 kB / 0.5193 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.6707, allocations: 0.6545 MB / 0.5199 GB, free: 11.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.6723, allocations: 1.029 MB / 0.5209 GB, free: 10.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.6739, allocations: 0.772 MB / 0.5217 GB, free: 9.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.6739, allocations: 0 / 0.5217 GB, free: 9.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004159/0.6781, allocations: 2.117 MB / 0.5237 GB, free: 7.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.6794, allocations: 3.745 MB / 0.5274 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.6794, allocations: 12 kB / 0.5274 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02687/0.7063, allocations: 3.064 MB / 0.5304 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.7075, allocations: 283.6 kB / 0.5307 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2033/0.9109, allocations: 1.472 MB / 0.5321 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.9127, allocations: 140.6 kB / 0.5322 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.9129, allocations: 73.81 kB / 0.5323 GB, free: 155.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9129, allocations: 8.156 kB / 0.5323 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005059/0.918, allocations: 1.864 MB / 0.5341 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.918, allocations: 9.625 kB / 0.5341 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008304/0.9189, allocations: 202.6 kB / 0.5343 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.9203, allocations: 346.3 kB / 0.5347 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008061/0.9211, allocations: 0.7516 MB / 0.5354 GB, free: 154.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.9225, allocations: 136.7 kB / 0.5355 GB, free: 154.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.9226, allocations: 71.48 kB / 0.5356 GB, free: 154.5 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.0007512/0.9234, allocations: 433.3 kB / 0.536 GB, free: 154.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.9236, allocations: 132.3 kB / 0.5361 GB, free: 154.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007991/0.9316, allocations: 5.696 MB / 0.5417 GB, free: 152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/0.9317, allocations: 60.14 kB / 0.5418 GB, free: 152 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.9317, allocations: 2.219 kB / 0.5418 GB, free: 152 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.9317, allocations: 8.766 kB / 0.5418 GB, free: 152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.9425, allocations: 7.731 MB / 0.5493 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.9426, allocations: 1.375 kB / 0.5493 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008078/0.9434, allocations: 211.5 kB / 0.5495 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02226/0.9656, allocations: 3.935 MB / 0.5534 GB, free: 148.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/0.966, allocations: 35.81 kB / 0.5534 GB, free: 148.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.9687, allocations: 2.383 MB / 0.5557 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9688, allocations: 5.781 kB / 0.5557 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004946/0.9737, allocations: 3.7 MB / 0.5593 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/0.9747, allocations: 0.6434 MB / 0.56 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.9749, allocations: 27.5 kB / 0.56 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/0.9759, allocations: 125.1 kB / 0.5601 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.9761, allocations: 103.3 kB / 0.5602 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/0.9762, allocations: 41.27 kB / 0.5603 GB, free: 144.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001292/0.9775, allocations: 1.06 MB / 0.5613 GB, free: 143.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9775, allocations: 0 / 0.5613 GB, free: 143.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005292/0.9828, allocations: 1.859 MB / 0.5631 GB, free: 141.5 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.01002/0.9929, allocations: 5.388 MB / 0.5684 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006017/0.9989, allocations: 3.046 MB / 0.5713 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.9989, allocations: 0 / 0.5713 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/1.001, allocations: 1.49 MB / 0.5728 GB, free: 131.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/1.005, allocations: 0.6841 MB / 0.5735 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.015, allocations: 13.32 MB / 0.5865 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/1.016, allocations: 1.623 MB / 0.5881 GB, free: 116 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002317/1.019, allocations: 1.481 MB / 0.5895 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000743/1.019, allocations: 0.8078 MB / 0.5903 GB, free: 113.7 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/1.019, allocations: 3.938 kB / 0.5903 GB, free: 113.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/1.152, allocations: 87.39 MB / 0.6756 GB, free: 26.67 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.152, allocations: 241.7 kB / 0.6759 GB, free: 26.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.754/6.906, allocations: 0 / 0.6759 GB, free: 26.34 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_InverseParameterization_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_InverseParameterization.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat