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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009406/0.0009407, allocations: 100.7 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001047, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 45.92 MB / 344.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002772, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 63.46 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03438/0.1724, allocations: 34.07 MB / 0.5036 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2801/0.4526, allocations: 15.67 MB / 0.5189 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.454, allocations: 25.34 kB / 0.519 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.4556, allocations: 354.7 kB / 0.5193 GB, free: 11.85 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01373/0.4694, allocations: 3.209 MB / 0.5224 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008663/0.4781, allocations: 2.461 MB / 0.5248 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.4813, allocations: 2.056 MB / 0.5268 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.4825, allocations: 439.8 kB / 0.5273 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.4846, allocations: 0.6625 MB / 0.5279 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.4858, allocations: 0.5553 MB / 0.5284 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.4859, allocations: 36.47 kB / 0.5285 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01823/0.5041, allocations: 7.02 MB / 0.5353 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.5048, allocations: 211.9 kB / 0.5355 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.5053, allocations: 162.7 kB / 0.5357 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006981/0.5123, allocations: 3.433 MB / 0.539 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5123, allocations: 1.25 kB / 0.539 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5123, allocations: 0 / 0.539 GB, free: 7.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.5124, allocations: 0 / 0.539 GB, free: 7.684 MB / 382.1 MB 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.004416/0.5168, allocations: 1.476 MB / 0.5405 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.5168, allocations: 7.031 kB / 0.5405 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.517, allocations: 113.7 kB / 0.5406 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.5197, allocations: 383.5 kB / 0.541 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007226/0.5204, allocations: 0.5105 MB / 0.5415 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.5206, allocations: 106.2 kB / 0.5416 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.5206, allocations: 69.2 kB / 0.5416 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.5231, allocations: 1.157 MB / 0.5428 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5232, allocations: 3.984 kB / 0.5428 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.5233, allocations: 29.67 kB / 0.5428 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.5233, allocations: 26.88 kB / 0.5428 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.5258, allocations: 1.094 MB / 0.5439 GB, free: 5.215 MB / 382.1 MB 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.005714/0.5315, allocations: 5.033 MB / 0.5488 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.5339, allocations: 0.9642 MB / 0.5497 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/0.5346, allocations: 385.9 kB / 0.5501 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04694/0.5815, allocations: 27 MB / 0.5765 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.5816, allocations: 39 kB / 0.5765 GB, free: 1.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.394e-06/0.5816, allocations: 0 / 0.5765 GB, free: 1.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.006651/0.5883, allocations: 2.079 MB / 0.5785 GB, free: 15.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.5884, allocations: 107.2 kB / 0.5787 GB, free: 15.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.5892, allocations: 0.5886 MB / 0.5792 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.5892, allocations: 41.69 kB / 0.5793 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.5895, allocations: 325.2 kB / 0.5796 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.5897, allocations: 149.2 kB / 0.5797 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.5897, allocations: 12 kB / 0.5797 GB, free: 14.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.5899, allocations: 374.8 kB / 0.5801 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006831/0.5906, allocations: 329.1 kB / 0.5804 GB, free: 13.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.5914, allocations: 0.5007 MB / 0.5809 GB, free: 12.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.5922, allocations: 356.6 kB / 0.5812 GB, free: 12.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.5922, allocations: 4 kB / 0.5812 GB, free: 12.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002306/0.5945, allocations: 1.082 MB / 0.5823 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.5945, allocations: 4 kB / 0.5823 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.5946, allocations: 8 kB / 0.5823 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.5958, allocations: 428.8 kB / 0.5827 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.5962, allocations: 127.8 kB / 0.5828 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.5981, allocations: 1.639 MB / 0.5844 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.5989, allocations: 120.1 kB / 0.5845 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.599, allocations: 24 kB / 0.5846 GB, free: 9.09 MB / 430.1 MB 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.0004527/0.5994, allocations: 234.1 kB / 0.5848 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5996, allocations: 67.25 kB / 0.5849 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/0.604, allocations: 3.311 MB / 0.5881 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.663e-05/0.6041, allocations: 44.06 kB / 0.5881 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6041, allocations: 4 kB / 0.5881 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.6041, allocations: 11.97 kB / 0.5881 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.6061, allocations: 1.562 MB / 0.5897 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.6061, allocations: 0 / 0.5897 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.6065, allocations: 91.88 kB / 0.5898 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.608, allocations: 0.8893 MB / 0.5906 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.608, allocations: 12 kB / 0.5906 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.6109, allocations: 2.311 MB / 0.5929 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6109, allocations: 0 / 0.5929 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.6144, allocations: 2.304 MB / 0.5951 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.6149, allocations: 354.6 kB / 0.5955 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.615, allocations: 12 kB / 0.5955 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.6155, allocations: 70.78 kB / 0.5956 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6157, allocations: 64.45 kB / 0.5956 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.6158, allocations: 31.94 kB / 0.5957 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000679/0.6165, allocations: 0.5068 MB / 0.5962 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6165, allocations: 0 / 0.5962 GB, free: 13.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003975/0.6205, allocations: 1.171 MB / 0.5973 GB, free: 11.91 MB / 446.1 MB 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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.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.008138/0.6286, allocations: 3.839 MB / 0.601 GB, free: 8.172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.6309, allocations: 1.146 MB / 0.6022 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.6309, allocations: 4 kB / 0.6022 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.6322, allocations: 0.8837 MB / 0.603 GB, free: 6.145 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.634, allocations: 353.4 kB / 0.6034 GB, free: 5.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.6448, allocations: 6.499 MB / 0.6097 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.6456, allocations: 1.154 MB / 0.6108 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008011/0.6464, allocations: 341.2 kB / 0.6112 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.6468, allocations: 403.3 kB / 0.6116 GB, free: 13.28 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6468, allocations: 0 / 0.6116 GB, free: 13.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09735/0.7442, allocations: 60.09 MB / 0.6702 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.7445, allocations: 267.9 kB / 0.6705 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.82/5.565, allocations: 2.625 kB / 0.6705 GB, free: 1.082 MB / 0.4981 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