Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.636/1.636, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 93.06 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3454/0.3454, allocations: 45.15 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.311e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2025, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.383/8.586, allocations: 2.77 GB / 3.275 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/8.586, allocations: 84.14 kB / 3.275 GB, free: 72.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.507/10.09, allocations: 357 MB / 3.623 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/10.09, allocations: 0 / 3.623 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.309e-05/10.09, allocations: 21.5 kB / 3.623 GB, free: 77.88 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.007206/10.1, allocations: 1.667 MB / 3.625 GB, free: 77.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/10.1, allocations: 11.8 kB / 3.625 GB, free: 77.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/10.1, allocations: 442.9 kB / 3.625 GB, free: 77.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/10.11, allocations: 0.5515 MB / 3.626 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/10.11, allocations: 97.69 kB / 3.626 GB, free: 76.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/10.11, allocations: 31.22 kB / 3.626 GB, free: 76.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/10.11, allocations: 0.7292 MB / 3.627 GB, free: 76.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/10.11, allocations: 0.8343 MB / 3.628 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/10.11, allocations: 7.438 kB / 3.628 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/10.11, allocations: 3.75 kB / 3.628 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/10.11, allocations: 35.59 kB / 3.628 GB, free: 76.56 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.08153/10.19, allocations: 48.92 MB / 3.675 GB, free: 44.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/10.19, allocations: 0.5883 MB / 3.676 GB, free: 44.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/10.19, allocations: 292 kB / 3.676 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03149/10.22, allocations: 18.41 MB / 3.694 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/10.22, allocations: 45.75 kB / 3.694 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 4.178e-06/10.22, allocations: 0 / 3.694 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.004318/10.23, allocations: 1.249 MB / 3.696 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/10.23, allocations: 106.4 kB / 3.696 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/10.23, allocations: 392.5 kB / 3.696 GB, free: 30.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.32e-05/10.23, allocations: 25.7 kB / 3.696 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/10.23, allocations: 342.5 kB / 3.696 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/10.23, allocations: 148.1 kB / 3.697 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/10.23, allocations: 0 / 3.697 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001281/10.23, allocations: 358.5 kB / 3.697 GB, free: 29.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/10.23, allocations: 261.1 kB / 3.697 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/10.23, allocations: 424.7 kB / 3.698 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/10.23, allocations: 0.5415 MB / 3.698 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/10.23, allocations: 6.781 kB / 3.698 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00291/10.23, allocations: 1.126 MB / 3.699 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/10.23, allocations: 7.094 kB / 3.699 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/10.23, allocations: 8.609 kB / 3.699 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/10.24, allocations: 386.1 kB / 3.7 GB, free: 28.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/10.24, allocations: 123.8 kB / 3.7 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/10.24, allocations: 1.77 MB / 3.701 GB, free: 27.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/10.24, allocations: 103.8 kB / 3.702 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/10.24, allocations: 26.86 kB / 3.702 GB, free: 27.24 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.0002025/10.24, allocations: 125.2 kB / 3.702 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002388/10.24, allocations: 0.9293 MB / 3.703 GB, free: 26.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/10.24, allocations: 48.81 kB / 3.703 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/10.25, allocations: 3.099 MB / 3.706 GB, free: 25.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-05/10.25, allocations: 41.16 kB / 3.706 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/10.25, allocations: 0 / 3.706 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/10.25, allocations: 7.562 kB / 3.706 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/10.25, allocations: 1.227 MB / 3.707 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/10.25, allocations: 3.938 kB / 3.707 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/10.25, allocations: 72.94 kB / 3.707 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/10.25, allocations: 1.02 MB / 3.708 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/10.25, allocations: 9.578 kB / 3.708 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/10.25, allocations: 2.622 MB / 3.711 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/10.25, allocations: 3.953 kB / 3.711 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/10.26, allocations: 2.418 MB / 3.713 GB, free: 21.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/10.26, allocations: 290.1 kB / 3.713 GB, free: 21.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/10.26, allocations: 3.953 kB / 3.713 GB, free: 21.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/10.26, allocations: 56.89 kB / 3.713 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/10.26, allocations: 63.75 kB / 3.713 GB, free: 21.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/10.26, allocations: 23.89 kB / 3.713 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004744/10.26, allocations: 355.6 kB / 3.714 GB, free: 21.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/10.26, allocations: 0 / 3.714 GB, free: 21.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006181/10.27, allocations: 1.199 MB / 3.715 GB, free: 19.97 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.01411/10.28, allocations: 4.053 MB / 3.719 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002101/10.28, allocations: 0.9233 MB / 3.72 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/10.28, allocations: 0 / 3.72 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/10.28, allocations: 0.7124 MB / 3.72 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/10.29, allocations: 258.4 kB / 3.721 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/10.29, allocations: 2.149 MB / 3.723 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/10.29, allocations: 1.119 MB / 3.724 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001167/10.3, allocations: 410.5 kB / 3.724 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/10.3, allocations: 342 kB / 3.725 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.154e-06/10.3, allocations: 3.938 kB / 3.725 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4692/10.77, allocations: 46.36 MB / 3.77 GB, free: 91.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/10.77, allocations: 182 kB / 3.77 GB, free: 90.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.827/14.59, allocations: 4.406 kB / 3.77 GB, free: 90.98 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat