Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001117, allocations: 98.59 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 206.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002369, allocations: 11.98 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1836/0.2875, allocations: 22.56 MB / 380.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02121/0.3087, allocations: 20.8 MB / 401.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.3092, allocations: 3.156 kB / 401.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.31, allocations: 239.2 kB / 401.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.3106, allocations: 261.2 kB / 402 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.3206, allocations: 3.103 MB / 405.1 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009929/0.3216, allocations: 0.5314 MB / 405.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.3218, allocations: 92.25 kB / 405.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.3223, allocations: 285.6 kB / 406 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.3226, allocations: 195.2 kB / 406.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.3226, allocations: 17.88 kB / 406.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06216/0.3848, allocations: 53.57 MB / 459.8 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.3851, allocations: 83.72 kB / 459.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.3854, allocations: 113.5 kB / 460 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02807/0.4135, allocations: 10.64 MB / 470.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4135, allocations: 0 / 470.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4135, allocations: 3.938 kB / 470.7 MB, free: 9.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4135, allocations: 0 / 470.7 MB, free: 9.898 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005846/0.4194, allocations: 1.072 MB / 471.7 MB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4194, allocations: 8.031 kB / 471.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.4195, allocations: 70.53 kB / 471.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005228/0.42, allocations: 63.59 kB / 471.9 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.4204, allocations: 307 kB / 472.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.4205, allocations: 24.66 kB / 472.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.4205, allocations: 35.95 kB / 472.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.4214, allocations: 455.8 kB / 472.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4214, allocations: 3.938 kB / 472.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.4215, allocations: 16 kB / 472.7 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4215, allocations: 16 kB / 472.7 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/0.4222, allocations: 382.3 kB / 473.1 MB, free: 7.34 MB / 382.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.003533/0.4257, allocations: 2.953 MB / 476 MB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.4263, allocations: 298.8 kB / 476.3 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002282/0.4286, allocations: 2.54 MB / 478.9 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4286, allocations: 34.55 kB / 478.9 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.4286, allocations: 4 kB / 478.9 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005384/0.434, allocations: 1.286 MB / 480.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.4341, allocations: 55.41 kB / 480.2 MB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.4344, allocations: 262.5 kB / 480.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.4345, allocations: 33.7 kB / 480.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.4346, allocations: 192 kB / 480.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.4347, allocations: 114.3 kB / 480.8 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.4347, allocations: 8 kB / 480.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4349, allocations: 342.8 kB / 481.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.4351, allocations: 116.8 kB / 481.3 MB, free: 14.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.4355, allocations: 222 kB / 481.5 MB, free: 13.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.4357, allocations: 157.4 kB / 481.7 MB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4357, allocations: 4 kB / 481.7 MB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008592/0.4366, allocations: 447 kB / 482.1 MB, free: 13.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.4367, allocations: 11.95 kB / 482.1 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4367, allocations: 4 kB / 482.1 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/0.4411, allocations: 237.4 kB / 482.3 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.4414, allocations: 95.77 kB / 482.4 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.4431, allocations: 1.86 MB / 484.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.4434, allocations: 31.98 kB / 484.3 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.4434, allocations: 20 kB / 484.4 MB, free: 10.97 MB / 398.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.0002269/0.4437, allocations: 165.7 kB / 484.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.4437, allocations: 35.61 kB / 484.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.4449, allocations: 0.6909 MB / 485.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4449, allocations: 8 kB / 485.2 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.4449, allocations: 3.938 kB / 485.3 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009067/0.4458, allocations: 0.8596 MB / 486.1 MB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.4475, allocations: 1.194 MB / 487.3 MB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.4476, allocations: 0 / 487.3 MB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.4479, allocations: 63.89 kB / 487.4 MB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.4495, allocations: 180.6 kB / 487.5 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.4495, allocations: 11.98 kB / 487.6 MB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003968/0.4499, allocations: 0.5795 MB / 488.1 MB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.45, allocations: 0 / 488.1 MB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.451, allocations: 0.7288 MB / 488.9 MB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.4512, allocations: 128.6 kB / 489 MB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.4512, allocations: 4 kB / 489 MB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.4515, allocations: 28.09 kB / 489 MB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.4515, allocations: 19.97 kB / 489 MB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.4515, allocations: 12 kB / 489.1 MB, free: 6.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.4518, allocations: 221.9 kB / 489.3 MB, free: 5.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4518, allocations: 3.938 kB / 489.3 MB, free: 5.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004922/0.4567, allocations: 0.7457 MB / 490 MB, free: 5.07 MB / 398.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.03496/0.4917, allocations: 7.573 MB / 497.6 MB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008992/0.4926, allocations: 469.5 kB / 498 MB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4927, allocations: 0.875 kB / 498.1 MB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.493, allocations: 230.2 kB / 498.3 MB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/0.494, allocations: 176.4 kB / 498.4 MB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.5006, allocations: 4.842 MB / 0.4915 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.501, allocations: 0.8207 MB / 0.4923 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.5014, allocations: 191.5 kB / 0.4925 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.5017, allocations: 135.4 kB / 0.4926 GB, free: 6.473 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5017, allocations: 4 kB / 0.4926 GB, free: 6.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1373/0.639, allocations: 32.63 MB / 0.5245 GB, free: 5.941 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.6392, allocations: 187.3 kB / 0.5247 GB, free: 5.707 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/3.825, allocations: 0 / 0.5247 GB, free: 5.707 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat