Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002238/0.002238, allocations: 179.2 kB / 8.363 MB, free: 0.7148 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.075/2.075, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001193, allocations: 95.16 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3426/0.3426, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.127e-05, allocations: 0 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4342, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.599/9.033, allocations: 2.764 GB / 3.23 GB, free: 24.03 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/9.033, allocations: 87.25 kB / 3.23 GB, free: 23.98 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.952/10.99, allocations: 353.1 MB / 3.575 GB, free: 60.67 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.943e-06/10.99, allocations: 0 / 3.575 GB, free: 60.67 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.896e-05/10.99, allocations: 11.19 kB / 3.575 GB, free: 60.67 MB / 0.4952 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.008529/10.99, allocations: 1.654 MB / 3.576 GB, free: 59.66 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/10.99, allocations: 13.25 kB / 3.576 GB, free: 59.66 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005316/11, allocations: 436.8 kB / 3.577 GB, free: 59.61 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/11, allocations: 0.5613 MB / 3.577 GB, free: 59.23 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/11, allocations: 95.75 kB / 3.578 GB, free: 59.17 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/11, allocations: 34.53 kB / 3.578 GB, free: 59.17 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001911/11, allocations: 0.7288 MB / 3.578 GB, free: 58.92 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/11.01, allocations: 0.8356 MB / 3.579 GB, free: 58.51 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/11.01, allocations: 0 / 3.579 GB, free: 58.51 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/11.01, allocations: 8.656 kB / 3.579 GB, free: 58.5 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-05/11.01, allocations: 26.09 kB / 3.579 GB, free: 58.5 MB / 0.4952 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.1346/11.14, allocations: 44.52 MB / 3.623 GB, free: 15.15 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/11.14, allocations: 0.589 MB / 3.623 GB, free: 14.56 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006223/11.14, allocations: 293.4 kB / 3.623 GB, free: 14.27 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.052/11.19, allocations: 16.57 MB / 3.64 GB, free: 11.71 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/11.19, allocations: 38.56 kB / 3.64 GB, free: 11.66 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=43): time 3.016e-06/11.19, allocations: 0 / 3.64 GB, free: 11.66 MB / 0.5108 GB Notification: Performance of matching and sorting (n=43): time 0.006235/11.2, allocations: 1.248 MB / 3.641 GB, free: 10.4 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/11.2, allocations: 110.8 kB / 3.641 GB, free: 10.27 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/11.2, allocations: 385.1 kB / 3.641 GB, free: 9.887 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/11.2, allocations: 29.64 kB / 3.641 GB, free: 9.852 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/11.2, allocations: 381.9 kB / 3.642 GB, free: 9.477 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/11.2, allocations: 145.9 kB / 3.642 GB, free: 9.332 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/11.2, allocations: 0 / 3.642 GB, free: 9.332 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001446/11.2, allocations: 330.8 kB / 3.642 GB, free: 9 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/11.2, allocations: 269.4 kB / 3.642 GB, free: 8.738 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/11.2, allocations: 421.4 kB / 3.643 GB, free: 8.258 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/11.21, allocations: 0.5433 MB / 3.643 GB, free: 7.719 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/11.21, allocations: 3.938 kB / 3.643 GB, free: 7.715 MB / 0.5108 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.005135/11.21, allocations: 1.102 MB / 3.644 GB, free: 6.598 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/11.21, allocations: 8 kB / 3.644 GB, free: 6.59 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/11.21, allocations: 7.953 kB / 3.644 GB, free: 6.582 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/11.21, allocations: 393.9 kB / 3.645 GB, free: 6.191 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/11.22, allocations: 119.8 kB / 3.645 GB, free: 6.074 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/11.22, allocations: 1.761 MB / 3.647 GB, free: 4.262 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/11.22, allocations: 111.3 kB / 3.647 GB, free: 4.152 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/11.22, allocations: 31.98 kB / 3.647 GB, free: 4.121 MB / 0.5108 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.0002696/11.22, allocations: 123.6 kB / 3.647 GB, free: 3.996 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00435/11.23, allocations: 0.9203 MB / 3.648 GB, free: 3.062 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/11.23, allocations: 51.34 kB / 3.648 GB, free: 3.012 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3781/11.6, allocations: 3.102 MB / 3.651 GB, free: 86.27 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.917e-05/11.6, allocations: 38.53 kB / 3.651 GB, free: 86.27 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/11.6, allocations: 0 / 3.651 GB, free: 86.27 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/11.6, allocations: 3.188 kB / 3.651 GB, free: 86.27 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/11.61, allocations: 1.231 MB / 3.652 GB, free: 86.11 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/11.61, allocations: 3.281 kB / 3.652 GB, free: 86.11 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/11.61, allocations: 71.75 kB / 3.652 GB, free: 86.11 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/11.61, allocations: 1.019 MB / 3.653 GB, free: 86.07 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/11.61, allocations: 7.125 kB / 3.653 GB, free: 86.07 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/11.61, allocations: 2.618 MB / 3.656 GB, free: 85.02 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/11.61, allocations: 2.344 kB / 3.656 GB, free: 85.02 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00706/11.62, allocations: 2.42 MB / 3.658 GB, free: 84.76 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008576/11.62, allocations: 297.6 kB / 3.658 GB, free: 84.61 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/11.62, allocations: 2.094 kB / 3.658 GB, free: 84.61 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/11.62, allocations: 58.95 kB / 3.658 GB, free: 84.61 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/11.62, allocations: 59.83 kB / 3.659 GB, free: 84.61 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/11.62, allocations: 22.36 kB / 3.659 GB, free: 84.61 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006831/11.62, allocations: 359.2 kB / 3.659 GB, free: 84.53 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.81e-07/11.62, allocations: 1.25 kB / 3.659 GB, free: 84.53 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006686/11.63, allocations: 1.179 MB / 3.66 GB, free: 84.52 MB / 0.5108 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.01806/11.65, allocations: 4.03 MB / 3.664 GB, free: 83.7 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003136/11.65, allocations: 0.9257 MB / 3.665 GB, free: 83.68 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/11.65, allocations: 1.062 kB / 3.665 GB, free: 83.68 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/11.65, allocations: 0.7079 MB / 3.666 GB, free: 83.68 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/11.66, allocations: 260.8 kB / 3.666 GB, free: 83.68 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/11.67, allocations: 2.181 MB / 3.668 GB, free: 83.26 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/11.67, allocations: 1.12 MB / 3.669 GB, free: 82.56 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/11.67, allocations: 346.2 kB / 3.669 GB, free: 82.55 MB / 0.5108 GB Notification: Performance of SimCode: time 1.523e-06/11.67, allocations: 0 / 3.669 GB, free: 82.55 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.05/15.72, allocations: 44.18 MB / 3.713 GB, free: 80.24 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat