Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009641, allocations: 99.73 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2519/0.2519, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.541e-05, allocations: 8.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.315/8.486, allocations: 2.77 GB / 3.272 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/8.486, allocations: 83.28 kB / 3.272 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.169/9.656, allocations: 360.7 MB / 3.624 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.018e-06/9.656, allocations: 4 kB / 3.624 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.557e-05/9.656, allocations: 16 kB / 3.624 GB, free: 15.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.01011/9.666, allocations: 1.662 MB / 3.626 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/9.666, allocations: 8.031 kB / 3.626 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/9.666, allocations: 105.6 kB / 3.626 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004679/9.671, allocations: 445.8 kB / 3.626 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/9.672, allocations: 0.5639 MB / 3.627 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/9.672, allocations: 112.6 kB / 3.627 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/9.672, allocations: 63.59 kB / 3.627 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/9.675, allocations: 1.137 MB / 3.628 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/9.675, allocations: 7.938 kB / 3.628 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/9.675, allocations: 30.81 kB / 3.628 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/9.675, allocations: 33.3 kB / 3.628 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/9.677, allocations: 1.016 MB / 3.629 GB, free: 10.3 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.005514/9.682, allocations: 4.995 MB / 3.634 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/9.684, allocations: 0.8679 MB / 3.635 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/9.684, allocations: 330 kB / 3.635 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4841/10.17, allocations: 24.15 MB / 3.659 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.396e-05/10.17, allocations: 39.03 kB / 3.659 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.687e-06/10.17, allocations: 0 / 3.659 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.005268/10.17, allocations: 1.325 MB / 3.66 GB, free: 55.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/10.17, allocations: 111.1 kB / 3.66 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/10.18, allocations: 0.5145 MB / 3.661 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/10.18, allocations: 35.23 kB / 3.661 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/10.18, allocations: 321.3 kB / 3.661 GB, free: 55.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/10.18, allocations: 155.9 kB / 3.661 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/10.18, allocations: 12.41 kB / 3.661 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001876/10.18, allocations: 373.3 kB / 3.662 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/10.18, allocations: 275.7 kB / 3.662 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/10.18, allocations: 447.3 kB / 3.662 GB, free: 54.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/10.18, allocations: 305 kB / 3.663 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-06/10.18, allocations: 1.781 kB / 3.663 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002167/10.18, allocations: 0.9525 MB / 3.663 GB, free: 54.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/10.18, allocations: 7.547 kB / 3.663 GB, free: 54.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/10.18, allocations: 4.344 kB / 3.663 GB, free: 54.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/10.18, allocations: 395.2 kB / 3.664 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/10.18, allocations: 125.7 kB / 3.664 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/10.18, allocations: 1.596 MB / 3.666 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/10.18, allocations: 113.7 kB / 3.666 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/10.19, allocations: 32.58 kB / 3.666 GB, free: 53.56 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002291/10.19, allocations: 144.9 kB / 3.666 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/10.19, allocations: 63.25 kB / 3.666 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005782/10.19, allocations: 3.5 MB / 3.669 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.162e-05/10.19, allocations: 43.33 kB / 3.669 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/10.19, allocations: 5.797 kB / 3.669 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/10.19, allocations: 3.562 kB / 3.669 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/10.19, allocations: 1.562 MB / 3.671 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/10.19, allocations: 0.9062 kB / 3.671 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/10.19, allocations: 92.83 kB / 3.671 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/10.2, allocations: 1.06 MB / 3.672 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/10.2, allocations: 15.64 kB / 3.672 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/10.2, allocations: 2.323 MB / 3.674 GB, free: 51.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/10.2, allocations: 0.6562 kB / 3.674 GB, free: 51.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/10.2, allocations: 2.464 MB / 3.677 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/10.2, allocations: 357.5 kB / 3.677 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/10.2, allocations: 13.02 kB / 3.677 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/10.2, allocations: 73.47 kB / 3.677 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/10.2, allocations: 68.08 kB / 3.677 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/10.2, allocations: 24.67 kB / 3.677 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001158/10.21, allocations: 0.499 MB / 3.678 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/10.21, allocations: 3.75 kB / 3.678 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008543/10.21, allocations: 1.209 MB / 3.679 GB, free: 51.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01632/10.23, allocations: 4.008 MB / 3.683 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0025/10.23, allocations: 1.034 MB / 3.684 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/10.23, allocations: 3.438 kB / 3.684 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/10.23, allocations: 0.8253 MB / 3.685 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/10.24, allocations: 359.1 kB / 3.685 GB, free: 50.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/10.24, allocations: 2.449 MB / 3.687 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/10.25, allocations: 1.18 MB / 3.688 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000899/10.25, allocations: 345.6 kB / 3.689 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/10.25, allocations: 397.2 kB / 3.689 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/10.25, allocations: 3.594 kB / 3.689 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/10.36, allocations: 57.16 MB / 3.745 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/10.36, allocations: 228.3 kB / 3.745 GB, free: 46.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.302/14.66, allocations: 6.531 kB / 3.745 GB, free: 46.49 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat