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.001046/0.001047, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.001075/0.001075, allocations: 100.2 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2594/0.2594, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.89e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.512/8.687, allocations: 2.769 GB / 3.264 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/8.687, allocations: 85.08 kB / 3.264 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.088/9.775, allocations: 356.8 MB / 3.613 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.316e-06/9.775, allocations: 7.922 kB / 3.613 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.678e-05/9.775, allocations: 12 kB / 3.613 GB, free: 3.602 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.008857/9.784, allocations: 1.655 MB / 3.614 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/9.784, allocations: 15.98 kB / 3.614 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/9.788, allocations: 447 kB / 3.615 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/9.789, allocations: 0.561 MB / 3.615 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/9.789, allocations: 92.7 kB / 3.615 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/9.789, allocations: 32 kB / 3.615 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4192/10.21, allocations: 0.731 MB / 3.616 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00393/10.21, allocations: 0.8247 MB / 3.617 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/10.21, allocations: 4.062 kB / 3.617 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/10.21, allocations: 2.219 kB / 3.617 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/10.21, allocations: 36.73 kB / 3.617 GB, free: 74.86 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.08892/10.3, allocations: 44.52 MB / 3.66 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009858/10.3, allocations: 0.591 MB / 3.661 GB, free: 48.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/10.3, allocations: 299.7 kB / 3.661 GB, free: 48.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02841/10.33, allocations: 16.55 MB / 3.677 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/10.33, allocations: 42 kB / 3.677 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/10.33, allocations: 0 / 3.677 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.003893/10.34, allocations: 1.233 MB / 3.679 GB, free: 37.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/10.34, allocations: 117.2 kB / 3.679 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/10.34, allocations: 395.4 kB / 3.679 GB, free: 37.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/10.34, allocations: 25.7 kB / 3.679 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/10.34, allocations: 337 kB / 3.679 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/10.34, allocations: 139.5 kB / 3.68 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/10.34, allocations: 2.188 kB / 3.68 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/10.34, allocations: 357.8 kB / 3.68 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/10.34, allocations: 269.2 kB / 3.68 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/10.34, allocations: 422.2 kB / 3.681 GB, free: 36.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/10.34, allocations: 0.542 MB / 3.681 GB, free: 36.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/10.34, allocations: 0 / 3.681 GB, free: 36.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002587/10.34, allocations: 1.137 MB / 3.682 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/10.34, allocations: 6.594 kB / 3.682 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/10.34, allocations: 7.781 kB / 3.682 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007567/10.34, allocations: 386.6 kB / 3.683 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/10.34, allocations: 128.1 kB / 3.683 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/10.35, allocations: 1.762 MB / 3.684 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/10.35, allocations: 112.2 kB / 3.685 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/10.35, allocations: 28.16 kB / 3.685 GB, free: 35.32 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.0002098/10.35, allocations: 132.8 kB / 3.685 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002297/10.35, allocations: 0.9232 MB / 3.686 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/10.35, allocations: 49.81 kB / 3.686 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/10.35, allocations: 3.099 MB / 3.689 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/10.35, allocations: 38 kB / 3.689 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/10.35, allocations: 0.5625 kB / 3.689 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/10.35, allocations: 3.281 kB / 3.689 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/10.36, allocations: 1.238 MB / 3.69 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/10.36, allocations: 2.812 kB / 3.69 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/10.36, allocations: 73.88 kB / 3.69 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/10.36, allocations: 1.012 MB / 3.691 GB, free: 34.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/10.36, allocations: 14.86 kB / 3.691 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/10.36, allocations: 2.616 MB / 3.694 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/10.36, allocations: 0 / 3.694 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/10.36, allocations: 2.415 MB / 3.696 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006117/10.36, allocations: 298.8 kB / 3.696 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/10.36, allocations: 0 / 3.696 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/10.37, allocations: 57.75 kB / 3.696 GB, free: 33.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/10.37, allocations: 62.2 kB / 3.696 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/10.37, allocations: 22.27 kB / 3.696 GB, free: 33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004986/10.37, allocations: 354.5 kB / 3.697 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/10.37, allocations: 7.5 kB / 3.697 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007052/10.37, allocations: 1.179 MB / 3.698 GB, free: 32.9 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: 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.01577/10.39, allocations: 4.036 MB / 3.702 GB, free: 32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002831/10.39, allocations: 0.9351 MB / 3.703 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/10.39, allocations: 5.656 kB / 3.703 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/10.39, allocations: 0.7024 MB / 3.703 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/10.4, allocations: 263.8 kB / 3.704 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/10.4, allocations: 2.153 MB / 3.706 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/10.4, allocations: 1.123 MB / 3.707 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009393/10.41, allocations: 408.3 kB / 3.707 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/10.41, allocations: 335.1 kB / 3.707 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of SimCode: time 1.864e-06/10.41, allocations: 0 / 3.707 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0968/10.5, allocations: 46.31 MB / 3.753 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/10.5, allocations: 188 kB / 3.753 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.741/14.24, allocations: 0 / 3.753 GB, free: 28.01 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