Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002769/0.002769, allocations: 181.1 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.00119, allocations: 82.62 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2788/0.2788, allocations: 43.49 MB / 353.2 MB, free: 300 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.002e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.302/8.451, allocations: 2.764 GB / 3.23 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/8.451, allocations: 90.08 kB / 3.23 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.124/9.575, allocations: 353.1 MB / 3.575 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/9.575, allocations: 0 / 3.575 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.306e-05/9.575, allocations: 12 kB / 3.575 GB, free: 31.53 MB / 0.4948 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.00689/9.582, allocations: 1.647 MB / 3.576 GB, free: 29.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/9.582, allocations: 16.03 kB / 3.576 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/9.585, allocations: 438.7 kB / 3.577 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/9.587, allocations: 0.5626 MB / 3.577 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/9.587, allocations: 93.39 kB / 3.578 GB, free: 28.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/9.587, allocations: 32 kB / 3.578 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001292/9.588, allocations: 0.7366 MB / 3.578 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/9.59, allocations: 0.8257 MB / 3.579 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/9.59, allocations: 11.92 kB / 3.579 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/9.59, allocations: 0 / 3.579 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/9.59, allocations: 41.3 kB / 3.579 GB, free: 26.98 MB / 0.4948 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.4517/10.04, allocations: 44.48 MB / 3.623 GB, free: 56.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/10.04, allocations: 0.5882 MB / 3.623 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/10.04, allocations: 301.8 kB / 3.623 GB, free: 56.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/10.07, allocations: 16.57 MB / 3.64 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/10.07, allocations: 37.56 kB / 3.64 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/10.07, allocations: 0 / 3.64 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.003992/10.08, allocations: 1.24 MB / 3.641 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/10.08, allocations: 109.6 kB / 3.641 GB, free: 46.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/10.08, allocations: 391.5 kB / 3.641 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/10.08, allocations: 25.7 kB / 3.641 GB, free: 46.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/10.08, allocations: 343.2 kB / 3.642 GB, free: 45.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/10.08, allocations: 145.2 kB / 3.642 GB, free: 45.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/10.08, allocations: 3.031 kB / 3.642 GB, free: 45.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000127/10.08, allocations: 357.4 kB / 3.642 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/10.08, allocations: 266.2 kB / 3.642 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/10.08, allocations: 421 kB / 3.643 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/10.08, allocations: 0.5363 MB / 3.643 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/10.08, allocations: 2.719 kB / 3.643 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002561/10.09, allocations: 1.143 MB / 3.644 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/10.09, allocations: 7.938 kB / 3.644 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/10.09, allocations: 4.547 kB / 3.644 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/10.09, allocations: 396.8 kB / 3.645 GB, free: 45.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/10.09, allocations: 123.5 kB / 3.645 GB, free: 45.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/10.09, allocations: 1.757 MB / 3.647 GB, free: 44.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/10.09, allocations: 113.1 kB / 3.647 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/10.09, allocations: 31.06 kB / 3.647 GB, free: 44.2 MB / 0.4948 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.0001676/10.09, allocations: 126.8 kB / 3.647 GB, free: 44.09 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002166/10.09, allocations: 0.9199 MB / 3.648 GB, free: 44.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/10.09, allocations: 54.17 kB / 3.648 GB, free: 43.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/10.1, allocations: 3.102 MB / 3.651 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-05/10.1, allocations: 38.3 kB / 3.651 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/10.1, allocations: 0 / 3.651 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/10.1, allocations: 3.047 kB / 3.651 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/10.1, allocations: 1.232 MB / 3.652 GB, free: 43.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/10.1, allocations: 0 / 3.652 GB, free: 43.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/10.1, allocations: 78.83 kB / 3.652 GB, free: 43.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/10.1, allocations: 1.018 MB / 3.653 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/10.1, allocations: 10.08 kB / 3.653 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/10.1, allocations: 2.618 MB / 3.656 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/10.1, allocations: 3.953 kB / 3.656 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/10.11, allocations: 2.417 MB / 3.658 GB, free: 42.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/10.11, allocations: 288.2 kB / 3.658 GB, free: 41.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/10.11, allocations: 3.953 kB / 3.658 GB, free: 41.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/10.11, allocations: 63.28 kB / 3.659 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/10.11, allocations: 59.94 kB / 3.659 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/10.11, allocations: 20.12 kB / 3.659 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003732/10.11, allocations: 355.4 kB / 3.659 GB, free: 41.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/10.11, allocations: 3.25 kB / 3.659 GB, free: 41.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005458/10.11, allocations: 1.18 MB / 3.66 GB, free: 41.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.009992/10.12, allocations: 4.028 MB / 3.664 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001696/10.12, allocations: 0.9257 MB / 3.665 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/10.12, allocations: 0 / 3.665 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009668/10.12, allocations: 0.7164 MB / 3.666 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/10.13, allocations: 268.7 kB / 3.666 GB, free: 41.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/10.13, allocations: 2.143 MB / 3.668 GB, free: 40.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/10.13, allocations: 1.12 MB / 3.669 GB, free: 39.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000704/10.13, allocations: 407.5 kB / 3.669 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/10.13, allocations: 340 kB / 3.67 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/10.13, allocations: 2.156 kB / 3.67 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08628/10.22, allocations: 46.28 MB / 3.715 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/10.22, allocations: 178 kB / 3.715 GB, free: 37.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.953/14.17, allocations: 3.281 kB / 3.715 GB, free: 37.11 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat