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.001582/0.001582, allocations: 198.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009026/0.0009025, allocations: 107.4 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4298/0.4298, allocations: 45.22 MB / 394.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003076, allocations: 7.984 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3418, allocations: 63.25 MB / 0.5193 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.818/7.16, allocations: 2.771 GB / 3.29 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004227/7.16, allocations: 92.69 kB / 3.29 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.339/8.499, allocations: 361.9 MB / 3.644 GB, free: 69.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.487e-06/8.499, allocations: 0 / 3.644 GB, free: 69.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001002/8.5, allocations: 15.83 kB / 3.644 GB, free: 69.97 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.009295/8.509, allocations: 1.735 MB / 3.645 GB, free: 68.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/8.509, allocations: 8.031 kB / 3.645 GB, free: 68.2 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000507/8.509, allocations: 110.5 kB / 3.646 GB, free: 68.08 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003882/8.513, allocations: 435.5 kB / 3.646 GB, free: 67.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/8.515, allocations: 0.5632 MB / 3.647 GB, free: 67.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/8.515, allocations: 124.4 kB / 3.647 GB, free: 66.94 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/8.515, allocations: 52.34 kB / 3.647 GB, free: 66.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002976/8.518, allocations: 1.162 MB / 3.648 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/8.518, allocations: 0 / 3.648 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/8.519, allocations: 28 kB / 3.648 GB, free: 65.65 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/8.519, allocations: 37.23 kB / 3.648 GB, free: 65.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/8.521, allocations: 1.079 MB / 3.649 GB, free: 64.54 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007579/8.529, allocations: 4.999 MB / 3.654 GB, free: 59.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/8.532, allocations: 0.9423 MB / 3.655 GB, free: 58.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0495/8.581, allocations: 26.65 MB / 3.681 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/8.581, allocations: 39 kB / 3.681 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 4.228e-06/8.581, allocations: 0 / 3.681 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.006875/8.588, allocations: 2.052 MB / 3.683 GB, free: 26.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/8.588, allocations: 115.2 kB / 3.683 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/8.589, allocations: 0.5176 MB / 3.683 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/8.589, allocations: 33.7 kB / 3.683 GB, free: 25.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/8.589, allocations: 319.6 kB / 3.684 GB, free: 25.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/8.59, allocations: 159.2 kB / 3.684 GB, free: 25.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/8.59, allocations: 8 kB / 3.684 GB, free: 25.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001186/8.59, allocations: 370.8 kB / 3.684 GB, free: 24.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/8.59, allocations: 337.1 kB / 3.685 GB, free: 24.42 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/8.591, allocations: 494.1 kB / 3.685 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/8.592, allocations: 348.6 kB / 3.685 GB, free: 23.53 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/8.592, allocations: 4 kB / 3.685 GB, free: 23.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002093/8.594, allocations: 1.074 MB / 3.686 GB, free: 22.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/8.594, allocations: 7.953 kB / 3.686 GB, free: 22.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/8.594, allocations: 4.469 kB / 3.686 GB, free: 22.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/8.595, allocations: 437.3 kB / 3.687 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/8.596, allocations: 127.8 kB / 3.687 GB, free: 21.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/8.597, allocations: 1.643 MB / 3.689 GB, free: 20.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008652/8.598, allocations: 111.3 kB / 3.689 GB, free: 20.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/8.598, allocations: 31.98 kB / 3.689 GB, free: 20.03 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 () * Number of clocked 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.0004419/8.598, allocations: 229.7 kB / 3.689 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/8.599, allocations: 67.09 kB / 3.689 GB, free: 19.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/8.603, allocations: 3.306 MB / 3.692 GB, free: 16.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/8.603, allocations: 51.88 kB / 3.692 GB, free: 16.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/8.603, allocations: 0 / 3.692 GB, free: 16.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/8.603, allocations: 3.984 kB / 3.692 GB, free: 16.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/8.604, allocations: 1.558 MB / 3.694 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/8.604, allocations: 0 / 3.694 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/8.605, allocations: 91.88 kB / 3.694 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/8.606, allocations: 0.8975 MB / 3.695 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/8.606, allocations: 12 kB / 3.695 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/8.608, allocations: 2.295 MB / 3.697 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/8.608, allocations: 0 / 3.697 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/8.611, allocations: 2.3 MB / 3.699 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/8.612, allocations: 354.7 kB / 3.7 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/8.612, allocations: 15.94 kB / 3.7 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/8.612, allocations: 79.78 kB / 3.7 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/8.613, allocations: 64.45 kB / 3.7 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/8.613, allocations: 19.98 kB / 3.7 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006251/8.613, allocations: 0.5107 MB / 3.7 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/8.613, allocations: 8 kB / 3.7 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006044/8.619, allocations: 1.214 MB / 3.702 GB, free: 6.797 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 () * Number of clocked 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.01287/8.632, allocations: 4.139 MB / 3.706 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002707/8.635, allocations: 1.142 MB / 3.707 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/8.635, allocations: 0 / 3.707 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/8.636, allocations: 0.8812 MB / 3.708 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/8.639, allocations: 356.8 kB / 3.708 GB, free: 448 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4496/9.088, allocations: 9.361 MB / 3.717 GB, free: 79.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000922/9.089, allocations: 1.173 MB / 3.718 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001091/9.09, allocations: 348.7 kB / 3.718 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/9.091, allocations: 399.3 kB / 3.719 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.303e-06/9.091, allocations: 0 / 3.719 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/9.21, allocations: 54.95 MB / 3.773 GB, free: 77.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/9.21, allocations: 251 kB / 3.773 GB, free: 76.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.732/13.94, allocations: 3.609 kB / 3.773 GB, free: 76.71 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