Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_3_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.001165/0.001165, allocations: 96.31 kB / 16.94 MB, free: 6.445 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.001324/0.001323, allocations: 183 kB / 17.83 MB, free: 6.012 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.577/1.577, allocations: 205.4 MB / 224 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.0005675/0.0005678, allocations: 12 kB / 280.8 MB, free: 3.668 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.09999, allocations: 47.58 MB / 328.4 MB, free: 4.02 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.266/0.3661, allocations: 60.84 MB / 389.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0281/0.3942, allocations: 21.65 MB / 410.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.3963, allocations: 54 kB / 411 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.3987, allocations: 0.6782 MB / 411.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02106/0.4198, allocations: 5.059 MB / 416.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01228/0.4321, allocations: 3.593 MB / 420.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003849/0.436, allocations: 2.072 MB / 422.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.4375, allocations: 0.8595 MB / 423.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.4402, allocations: 1.27 MB / 424.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02113/0.4613, allocations: 14.9 MB / 439.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004763/0.4618, allocations: 80 kB / 439.5 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0249/0.4867, allocations: 11.13 MB / 450.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009439/0.4877, allocations: 402.8 kB / 451 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008879/0.4886, allocations: 317 kB / 451.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.5005, allocations: 4.79 MB / 456.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5006, allocations: 3.938 kB / 456.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.5006, allocations: 0 / 456.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.904e-05/0.5006, allocations: 0 / 456.1 MB, free: 9.211 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.009309/0.5099, allocations: 2.565 MB / 458.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.51, allocations: 8.031 kB / 458.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003986/0.5104, allocations: 175.2 kB / 458.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/0.5149, allocations: 0.5914 MB / 459.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.5171, allocations: 0.9664 MB / 460.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.5172, allocations: 90.7 kB / 460.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.5175, allocations: 112 kB / 460.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005756/0.5232, allocations: 2.245 MB / 462.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.5233, allocations: 3.984 kB / 462.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.5235, allocations: 55.94 kB / 462.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.5236, allocations: 89.94 kB / 463 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005635/0.5292, allocations: 2.385 MB / 465.4 MB, free: 15.7 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.0133/0.5426, allocations: 9.26 MB / 474.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00495/0.5475, allocations: 1.928 MB / 476.6 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05035/0.5979, allocations: 24.77 MB / 0.4896 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.834e-05/0.598, allocations: 51.59 kB / 0.4896 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001167/0.5992, allocations: 170.7 kB / 0.4898 GB, free: 7.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 3.286e-06/0.5992, allocations: 0 / 0.4898 GB, free: 7.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.0187/0.6179, allocations: 4.72 MB / 0.4944 GB, free: 3.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.618, allocations: 218.6 kB / 0.4946 GB, free: 2.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.6194, allocations: 0.9631 MB / 0.4955 GB, free: 1.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.6195, allocations: 49.7 kB / 0.4956 GB, free: 1.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.6199, allocations: 0.5579 MB / 0.4961 GB, free: 1.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.6203, allocations: 378.6 kB / 0.4965 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/0.6204, allocations: 24 kB / 0.4965 GB, free: 0.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6205, allocations: 357.9 kB / 0.4969 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.6218, allocations: 0.6584 MB / 0.4975 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.6234, allocations: 1.029 MB / 0.4985 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.6249, allocations: 0.7798 MB / 0.4993 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.6249, allocations: 7.953 kB / 0.4993 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004023/0.6289, allocations: 2.097 MB / 0.5013 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.6303, allocations: 3.749 MB / 0.505 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.6303, allocations: 15.94 kB / 0.505 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02799/0.6583, allocations: 3.056 MB / 0.508 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.6597, allocations: 283.6 kB / 0.5083 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.6624, allocations: 1.481 MB / 0.5097 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.6642, allocations: 135.7 kB / 0.5098 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.6644, allocations: 79.91 kB / 0.5099 GB, free: 2.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6644, allocations: 4 kB / 0.5099 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00472/0.6691, allocations: 1.871 MB / 0.5117 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.6692, allocations: 8 kB / 0.5118 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008607/0.67, allocations: 201.2 kB / 0.5119 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.6715, allocations: 351.5 kB / 0.5123 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009509/0.6725, allocations: 0.7397 MB / 0.513 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.6741, allocations: 143.7 kB / 0.5131 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.6742, allocations: 67.98 kB / 0.5132 GB, free: 15.36 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.0009617/0.6752, allocations: 432.6 kB / 0.5136 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.6755, allocations: 134.4 kB / 0.5137 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008/0.6835, allocations: 5.687 MB / 0.5193 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.898e-05/0.6836, allocations: 63.86 kB / 0.5194 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.6836, allocations: 0 / 0.5194 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.6836, allocations: 11.95 kB / 0.5194 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.6947, allocations: 7.729 MB / 0.5269 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.6948, allocations: 0 / 0.5269 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.6956, allocations: 211.8 kB / 0.5271 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1982/0.8938, allocations: 3.922 MB / 0.5309 GB, free: 155.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/0.8941, allocations: 30.02 kB / 0.531 GB, free: 155.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.8978, allocations: 2.402 MB / 0.5333 GB, free: 155.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8979, allocations: 0 / 0.5333 GB, free: 155.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006764/0.9046, allocations: 3.702 MB / 0.5369 GB, free: 153.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.9058, allocations: 0.645 MB / 0.5376 GB, free: 153.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.906, allocations: 22.09 kB / 0.5376 GB, free: 153.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.9071, allocations: 123.7 kB / 0.5377 GB, free: 153.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.9073, allocations: 102.8 kB / 0.5378 GB, free: 153.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/0.9074, allocations: 45.11 kB / 0.5378 GB, free: 153.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001366/0.9088, allocations: 1.063 MB / 0.5389 GB, free: 153.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9088, allocations: 0 / 0.5389 GB, free: 153.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005431/0.9142, allocations: 1.863 MB / 0.5407 GB, free: 152.9 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 (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.009695/0.924, allocations: 5.361 MB / 0.5459 GB, free: 150.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005837/0.9298, allocations: 3.048 MB / 0.5489 GB, free: 149.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.9299, allocations: 6.75 kB / 0.5489 GB, free: 149.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.932, allocations: 1.492 MB / 0.5504 GB, free: 148.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/0.9352, allocations: 0.6877 MB / 0.5511 GB, free: 148.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009051/0.9443, allocations: 13.31 MB / 0.564 GB, free: 135.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.9451, allocations: 1.621 MB / 0.5656 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002135/0.9472, allocations: 1.487 MB / 0.5671 GB, free: 132 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.9479, allocations: 0.8078 MB / 0.5679 GB, free: 131.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.9479, allocations: 0 / 0.5679 GB, free: 131.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.06, allocations: 87.26 MB / 0.6531 GB, free: 43.81 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.06, allocations: 246.6 kB / 0.6533 GB, free: 43.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.72/6.78, allocations: 3.938 kB / 0.6533 GB, free: 43.52 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Fluid_Examples_InverseParameterization_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Fluid_Examples_InverseParameterization.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat