Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",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.00102/0.00102, allocations: 98.83 kB / 16.94 MB, free: 5.984 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.001089/0.00109, allocations: 177.5 kB / 17.82 MB, free: 5.652 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.379/1.379, 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.0004323/0.0004323, allocations: 15.94 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09964, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02428/0.124, allocations: 22.55 MB / 351 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02447/0.1485, allocations: 20.79 MB / 371.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.149, allocations: 4 kB / 371.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008165/0.1498, allocations: 239 kB / 372 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007366/0.1506, allocations: 259.2 kB / 372.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01124/0.1618, allocations: 3.097 MB / 375.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.1629, allocations: 0.5349 MB / 375.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1631, allocations: 77.03 kB / 375.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/0.1636, allocations: 291 kB / 376.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.1639, allocations: 195.2 kB / 376.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.164, allocations: 16 kB / 376.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2609/0.4248, allocations: 53.56 MB / 430 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.4251, allocations: 84.89 kB / 430.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.4254, allocations: 108.2 kB / 430.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03594/0.4614, allocations: 10.63 MB / 440.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4614, allocations: 0 / 440.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4614, allocations: 0 / 440.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.4614, allocations: 0 / 440.8 MB, free: 5.453 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.007211/0.4687, allocations: 1.063 MB / 441.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4687, allocations: 8.031 kB / 441.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.4689, allocations: 74.09 kB / 442 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006733/0.4695, allocations: 72.52 kB / 442 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.47, allocations: 312 kB / 442.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.4701, allocations: 22.53 kB / 442.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.4701, allocations: 31.89 kB / 442.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/0.471, allocations: 456 kB / 442.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.4711, allocations: 7.281 kB / 442.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.4711, allocations: 18.12 kB / 442.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.4711, allocations: 8 kB / 442.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006757/0.4718, allocations: 384.9 kB / 443.2 MB, free: 3.32 MB / 350.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.004076/0.4759, allocations: 2.951 MB / 446.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.4766, allocations: 290 kB / 446.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002564/0.4791, allocations: 2.549 MB / 449 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.4792, allocations: 44.67 kB / 449.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.4792, allocations: 0 / 449.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005191/0.4844, allocations: 1.274 MB / 450.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4845, allocations: 58.66 kB / 450.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.4848, allocations: 265.6 kB / 450.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4848, allocations: 33.33 kB / 450.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4849, allocations: 188.2 kB / 450.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4851, allocations: 122.8 kB / 451 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.4851, allocations: 7 kB / 451 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4852, allocations: 345.6 kB / 451.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.4854, allocations: 112.7 kB / 451.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.4857, allocations: 226.1 kB / 451.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4859, allocations: 152 kB / 451.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4859, allocations: 4 kB / 451.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008358/0.4868, allocations: 453.5 kB / 452.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4868, allocations: 10.84 kB / 452.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4868, allocations: 4 kB / 452.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004419/0.4912, allocations: 247.3 kB / 452.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.4917, allocations: 89.77 kB / 452.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.4933, allocations: 1.847 MB / 454.5 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.4936, allocations: 38.73 kB / 454.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.4937, allocations: 19.62 kB / 454.5 MB, free: 8.383 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.4939, allocations: 160 kB / 454.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.494, allocations: 31.7 kB / 454.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.4952, allocations: 0.6966 MB / 455.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.4952, allocations: 11.7 kB / 455.4 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4952, allocations: 0 / 455.4 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008632/0.4961, allocations: 0.8655 MB / 456.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.4976, allocations: 1.188 MB / 457.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4976, allocations: 0 / 457.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.4979, allocations: 72.5 kB / 457.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.4994, allocations: 175.9 kB / 457.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.4995, allocations: 11.23 kB / 457.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003634/0.4998, allocations: 0.5702 MB / 458.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4999, allocations: 2.812 kB / 458.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.5007, allocations: 0.741 MB / 459 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.5009, allocations: 123.7 kB / 459.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.5009, allocations: 6.938 kB / 459.2 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.5012, allocations: 25.28 kB / 459.2 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.5012, allocations: 17.59 kB / 459.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.5013, allocations: 14.19 kB / 459.2 MB, free: 4.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.5015, allocations: 221.3 kB / 459.4 MB, free: 4.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5015, allocations: 0 / 459.4 MB, free: 4.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005249/0.5068, allocations: 0.7444 MB / 460.2 MB, free: 3.742 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03804/0.5448, allocations: 7.562 MB / 467.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.546, allocations: 481.9 kB / 468.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.546, allocations: 0 / 468.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.5464, allocations: 224.6 kB / 468.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.5475, allocations: 175.6 kB / 468.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008897/0.5564, allocations: 4.823 MB / 473.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.557, allocations: 0.8238 MB / 474.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005073/0.5575, allocations: 195.9 kB / 474.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.5577, allocations: 134.6 kB / 474.6 MB, free: 6.324 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5577, allocations: 0 / 474.6 MB, free: 6.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06342/0.6211, allocations: 32.56 MB / 0.4952 GB, free: 6.164 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.6214, allocations: 191.8 kB / 0.4954 GB, free: 5.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/3.788, allocations: 0 / 0.4954 GB, free: 5.926 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat