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.001436/0.001436, allocations: 196.9 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009158/0.0009157, allocations: 88.48 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1785/0.1785, allocations: 45.13 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.406e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09897, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.525/5.624, allocations: 2.771 GB / 3.282 GB, free: 16.29 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/5.624, allocations: 82.14 kB / 3.282 GB, free: 16.25 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.152/6.776, allocations: 360.9 MB / 3.635 GB, free: 88.06 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.093e-06/6.776, allocations: 0 / 3.635 GB, free: 88.06 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.389e-05/6.776, allocations: 23.03 kB / 3.635 GB, free: 88.05 MB / 0.5417 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.004994/6.781, allocations: 1.66 MB / 3.637 GB, free: 87.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/6.782, allocations: 9.656 kB / 3.637 GB, free: 87.11 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/6.782, allocations: 109.1 kB / 3.637 GB, free: 87.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/6.785, allocations: 443.3 kB / 3.637 GB, free: 86.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009681/6.786, allocations: 0.5631 MB / 3.638 GB, free: 86.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/6.786, allocations: 114.6 kB / 3.638 GB, free: 86.51 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/6.786, allocations: 50.5 kB / 3.638 GB, free: 86.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/6.788, allocations: 1.154 MB / 3.639 GB, free: 86 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/6.788, allocations: 7.25 kB / 3.639 GB, free: 86 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/6.788, allocations: 26.34 kB / 3.639 GB, free: 85.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/6.788, allocations: 32.5 kB / 3.639 GB, free: 85.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/6.79, allocations: 1.009 MB / 3.64 GB, free: 85.68 MB / 0.5417 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.00508/6.795, allocations: 4.998 MB / 3.645 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/6.797, allocations: 0.8669 MB / 3.646 GB, free: 81.74 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/6.797, allocations: 335.9 kB / 3.646 GB, free: 81.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03986/6.837, allocations: 26.73 MB / 3.672 GB, free: 57.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/6.837, allocations: 39 kB / 3.672 GB, free: 57.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.595e-06/6.837, allocations: 7.938 kB / 3.672 GB, free: 57.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.003226/6.84, allocations: 1.328 MB / 3.673 GB, free: 56.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/6.84, allocations: 111.2 kB / 3.674 GB, free: 56.01 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/6.841, allocations: 0.5202 MB / 3.674 GB, free: 55.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/6.841, allocations: 33.7 kB / 3.674 GB, free: 55.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/6.841, allocations: 315.4 kB / 3.674 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/6.841, allocations: 153.7 kB / 3.675 GB, free: 54.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/6.841, allocations: 16 kB / 3.675 GB, free: 54.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/6.841, allocations: 370.8 kB / 3.675 GB, free: 54.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/6.842, allocations: 277.4 kB / 3.675 GB, free: 54.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/6.842, allocations: 443.6 kB / 3.676 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/6.843, allocations: 301.2 kB / 3.676 GB, free: 53.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/6.843, allocations: 0 / 3.676 GB, free: 53.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001285/6.844, allocations: 0.9499 MB / 3.677 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/6.844, allocations: 8.062 kB / 3.677 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/6.844, allocations: 12 kB / 3.677 GB, free: 52.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000752/6.845, allocations: 394.7 kB / 3.677 GB, free: 52.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/6.845, allocations: 131.8 kB / 3.677 GB, free: 52.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/6.846, allocations: 1.586 MB / 3.679 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/6.847, allocations: 127.1 kB / 3.679 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/6.847, allocations: 24 kB / 3.679 GB, free: 50.26 MB / 0.5417 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.000136/6.847, allocations: 154.8 kB / 3.679 GB, free: 50.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/6.847, allocations: 63.25 kB / 3.679 GB, free: 50.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/6.851, allocations: 3.509 MB / 3.683 GB, free: 46.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/6.851, allocations: 43.92 kB / 3.683 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/6.851, allocations: 0 / 3.683 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/6.851, allocations: 3.984 kB / 3.683 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/6.852, allocations: 1.554 MB / 3.684 GB, free: 44.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/6.852, allocations: 0 / 3.684 GB, free: 44.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/6.852, allocations: 91.88 kB / 3.684 GB, free: 44.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/6.853, allocations: 1.061 MB / 3.685 GB, free: 43.72 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/6.853, allocations: 19.92 kB / 3.685 GB, free: 43.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/6.855, allocations: 2.319 MB / 3.688 GB, free: 41.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/6.855, allocations: 0 / 3.688 GB, free: 41.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/6.857, allocations: 2.472 MB / 3.69 GB, free: 38.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/6.858, allocations: 354.7 kB / 3.69 GB, free: 38.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/6.858, allocations: 16 kB / 3.69 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/6.859, allocations: 71.86 kB / 3.69 GB, free: 38.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/6.859, allocations: 68.41 kB / 3.691 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/6.859, allocations: 23.98 kB / 3.691 GB, free: 38.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004421/6.859, allocations: 0.4991 MB / 3.691 GB, free: 37.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/6.859, allocations: 4 kB / 3.691 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004032/6.863, allocations: 1.221 MB / 3.692 GB, free: 36.57 MB / 0.5417 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.008127/6.871, allocations: 4.002 MB / 3.696 GB, free: 32.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001353/6.873, allocations: 1.036 MB / 3.697 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/6.873, allocations: 0 / 3.697 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009014/6.874, allocations: 0.8299 MB / 3.698 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/6.875, allocations: 350.3 kB / 3.698 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/6.879, allocations: 2.471 MB / 3.701 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/6.88, allocations: 1.173 MB / 3.702 GB, free: 26.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005753/6.88, allocations: 350.4 kB / 3.702 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/6.881, allocations: 399.3 kB / 3.703 GB, free: 26.11 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/6.881, allocations: 4 kB / 3.703 GB, free: 26.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3432/7.224, allocations: 57.22 MB / 3.758 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/7.224, allocations: 226.7 kB / 3.759 GB, free: 74.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.399/10.62, allocations: 0 / 3.759 GB, free: 74.74 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