Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001525/0.001525, allocations: 175.1 kB / 8.739 MB, free: 348 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.539/1.539, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.0009597/0.0009597, allocations: 94.83 kB / 281.6 MB, free: 5.262 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.2497/0.2497, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.792e-05, allocations: 224 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1638, allocations: 61.93 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.303, allocations: 236.5 MB / 0.7257 GB, free: 134 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.303, allocations: 97.61 kB / 0.7258 GB, free: 134 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9907/2.294, allocations: 246 MB / 0.9661 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/2.294, allocations: 0 / 0.9661 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.095e-05/2.294, allocations: 21.25 kB / 0.9661 GB, free: 122.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003547/2.297, allocations: 1.192 MB / 0.9673 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/2.297, allocations: 14.48 kB / 0.9673 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/2.299, allocations: 142.2 kB / 0.9674 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/2.301, allocations: 0.5452 MB / 0.9679 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/2.301, allocations: 87.47 kB / 0.968 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/2.301, allocations: 29.41 kB / 0.9681 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001201/2.302, allocations: 0.4953 MB / 0.9685 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/2.303, allocations: 0.73 MB / 0.9692 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/2.303, allocations: 11.72 kB / 0.9693 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/2.304, allocations: 4 kB / 0.9693 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/2.304, allocations: 41.05 kB / 0.9693 GB, free: 120 MB / 0.5105 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.005756/2.309, allocations: 4.369 MB / 0.9736 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/2.31, allocations: 294.2 kB / 0.9739 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/2.31, allocations: 138.5 kB / 0.974 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/2.311, allocations: 413.8 kB / 0.9744 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/2.311, allocations: 42.36 kB / 0.9744 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 3.006e-06/2.311, allocations: 0 / 0.9744 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.004486/2.315, allocations: 1.209 MB / 0.9756 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/2.315, allocations: 136.5 kB / 0.9757 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006428/2.316, allocations: 463.6 kB / 0.9762 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/2.316, allocations: 25.7 kB / 0.9762 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/2.316, allocations: 402 kB / 0.9766 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/2.316, allocations: 129.8 kB / 0.9767 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/2.316, allocations: 0 / 0.9767 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000121/2.316, allocations: 365.9 kB / 0.9771 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/2.317, allocations: 179.9 kB / 0.9772 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/2.317, allocations: 473.8 kB / 0.9777 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/2.319, allocations: 321.3 kB / 0.978 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/2.319, allocations: 4 kB / 0.978 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002276/2.321, allocations: 0.8018 MB / 0.9788 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/2.321, allocations: 9.406 kB / 0.9788 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/2.321, allocations: 12 kB / 0.9788 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/2.322, allocations: 220.5 kB / 0.979 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/2.323, allocations: 120.9 kB / 0.9791 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/2.324, allocations: 1.421 MB / 0.9805 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/2.325, allocations: 26.97 kB / 0.9805 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/2.325, allocations: 40 kB / 0.9806 GB, free: 108.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001975/2.325, allocations: 135.6 kB / 0.9807 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001487/2.327, allocations: 498 kB / 0.9812 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/2.327, allocations: 59.25 kB / 0.9812 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/2.329, allocations: 0.6729 MB / 0.9819 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/2.329, allocations: 4 kB / 0.9819 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/2.329, allocations: 3.562 kB / 0.9819 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/2.329, allocations: 0 / 0.9819 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/2.332, allocations: 1.138 MB / 0.983 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/2.332, allocations: 0 / 0.983 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/2.332, allocations: 39.98 kB / 0.983 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006819/2.333, allocations: 160.8 kB / 0.9832 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/2.333, allocations: 4 kB / 0.9832 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/2.334, allocations: 1.311 MB / 0.9845 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/2.334, allocations: 4.031 kB / 0.9845 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/2.336, allocations: 0.7851 MB / 0.9852 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/2.336, allocations: 182 kB / 0.9854 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/2.336, allocations: 4 kB / 0.9854 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/2.337, allocations: 23.88 kB / 0.9854 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/2.337, allocations: 23.97 kB / 0.9855 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/2.337, allocations: 19.98 kB / 0.9855 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005583/2.338, allocations: 338.9 kB / 0.9858 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/2.338, allocations: 0 / 0.9858 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001675/2.34, allocations: 267.4 kB / 0.9861 GB, free: 102.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002929/2.342, allocations: 1.681 MB / 0.9877 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001291/2.344, allocations: 478.3 kB / 0.9882 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/2.344, allocations: 0 / 0.9882 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005733/2.344, allocations: 192 kB / 0.9883 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/2.346, allocations: 254.7 kB / 0.9886 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/2.349, allocations: 1.033 MB / 0.9896 GB, free: 99.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/2.35, allocations: 0.9456 MB / 0.9905 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001136/2.351, allocations: 248.8 kB / 0.9908 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/2.352, allocations: 227.3 kB / 0.991 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/2.352, allocations: 4 kB / 0.991 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04609/2.398, allocations: 18 MB / 1.009 GB, free: 80.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/2.398, allocations: 197.7 kB / 1.009 GB, free: 79.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/5.19, allocations: 0 / 1.009 GB, free: 79.82 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat