Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",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.001092/0.001092, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 236 MB, free: 2.988 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.0008446/0.0008444, allocations: 95.66 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.16 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.694e-05, allocations: 224 / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.932/9.062, allocations: 3.171 GB / 3.672 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/9.062, allocations: 80.33 kB / 3.672 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 12.81/21.87, allocations: 3.109 GB / 6.781 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.685e-06/21.87, allocations: 0 / 6.781 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004405/21.87, allocations: 70.08 kB / 6.781 GB, free: 56.92 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.02003/21.89, allocations: 3.594 MB / 6.785 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.67e-05/21.89, allocations: 11.56 kB / 6.785 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00336/21.89, allocations: 345.3 kB / 6.785 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/21.9, allocations: 313.4 kB / 6.785 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008675/21.91, allocations: 2.09 MB / 6.787 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004003/21.91, allocations: 226 kB / 6.788 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/21.91, allocations: 196.3 kB / 6.788 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009265/21.92, allocations: 3.301 MB / 6.791 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/21.92, allocations: 8.281 kB / 6.791 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007341/21.92, allocations: 89.41 kB / 6.791 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002792/21.92, allocations: 210.5 kB / 6.791 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006231/21.93, allocations: 3.018 MB / 6.794 GB, free: 53.9 MB / 0.5573 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.02379/21.95, allocations: 12.46 MB / 6.806 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004417/21.95, allocations: 2.205 MB / 6.809 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/21.96, allocations: 1.337 MB / 6.81 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/21.97, allocations: 6 MB / 6.816 GB, free: 45.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/21.97, allocations: 60.22 kB / 6.816 GB, free: 45.85 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001483/21.97, allocations: 197.2 kB / 6.816 GB, free: 45.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 1.256e-05/21.97, allocations: 0 / 6.816 GB, free: 45.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.0287/22, allocations: 8.865 MB / 6.825 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/22, allocations: 129.8 kB / 6.825 GB, free: 44.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/22, allocations: 1.651 MB / 6.826 GB, free: 44.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007104/22, allocations: 62.55 kB / 6.826 GB, free: 44.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001197/22, allocations: 1.04 MB / 6.827 GB, free: 44.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001484/22, allocations: 0.6839 MB / 6.828 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006184/22.01, allocations: 52.41 kB / 6.828 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003631/22.01, allocations: 400.7 kB / 6.828 GB, free: 43.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/22.01, allocations: 1.182 MB / 6.83 GB, free: 42.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/22.01, allocations: 1.7 MB / 6.831 GB, free: 41.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/22.01, allocations: 1.433 MB / 6.833 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/22.01, allocations: 10.22 kB / 6.833 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.008182/22.02, allocations: 3.85 MB / 6.836 GB, free: 40.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001426/22.02, allocations: 5.888 MB / 6.842 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/22.02, allocations: 14.34 kB / 6.842 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004267/22.03, allocations: 1.148 MB / 6.843 GB, free: 33.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/22.03, allocations: 469 kB / 6.844 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008396/22.04, allocations: 10.51 MB / 6.854 GB, free: 24.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/22.04, allocations: 200.2 kB / 6.854 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000715/22.04, allocations: 112.3 kB / 6.854 GB, free: 24.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/22.04, allocations: 5.062 kB / 6.854 GB, free: 24.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007758/22.05, allocations: 3.455 MB / 6.858 GB, free: 23.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.627e-05/22.05, allocations: 14.62 kB / 6.858 GB, free: 23.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/22.05, allocations: 0.8543 MB / 6.859 GB, free: 22.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/22.06, allocations: 0.4883 MB / 6.859 GB, free: 22.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007753/22.06, allocations: 10.21 MB / 6.869 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/22.07, allocations: 190.2 kB / 6.869 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007404/22.07, allocations: 106.3 kB / 6.869 GB, free: 13.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 240 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001196/22.07, allocations: 233.2 kB / 6.87 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009189/22.07, allocations: 231.5 kB / 6.87 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008448/22.08, allocations: 3.885 MB / 6.874 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/22.08, allocations: 23.12 kB / 6.874 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/22.08, allocations: 0 / 6.874 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005414/22.08, allocations: 3.286 MB / 6.877 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/22.1, allocations: 6.344 MB / 6.883 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/22.1, allocations: 0 / 6.883 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/22.1, allocations: 320.9 kB / 6.883 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004428/22.1, allocations: 1.191 MB / 6.884 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/22.1, allocations: 75.19 kB / 6.885 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008846/22.11, allocations: 10.4 MB / 6.895 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/22.11, allocations: 0 / 6.895 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/22.12, allocations: 5.117 MB / 6.9 GB, free: 7.605 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/22.13, allocations: 0.6428 MB / 6.9 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009286/22.13, allocations: 63.64 kB / 6.9 GB, free: 6.988 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/22.13, allocations: 162 kB / 6.901 GB, free: 6.875 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005021/22.13, allocations: 166.3 kB / 6.901 GB, free: 6.773 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/22.13, allocations: 82.2 kB / 6.901 GB, free: 6.707 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003028/22.13, allocations: 1.275 MB / 6.902 GB, free: 5.531 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.91e-07/22.13, allocations: 3.938 kB / 6.902 GB, free: 5.527 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009828/22.14, allocations: 1.978 MB / 6.904 GB, free: 3.582 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.4797/22.62, allocations: 6.92 MB / 6.911 GB, free: 65.97 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01557/22.64, allocations: 6.081 MB / 6.917 GB, free: 64.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/22.64, allocations: 0 / 6.917 GB, free: 64.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/22.64, allocations: 2.204 MB / 6.919 GB, free: 64.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/22.65, allocations: 0.9646 MB / 6.92 GB, free: 64.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/22.67, allocations: 5.758 MB / 6.925 GB, free: 63.29 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/22.67, allocations: 1.941 MB / 6.927 GB, free: 62.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006818/22.67, allocations: 1.446 MB / 6.929 GB, free: 62.49 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/22.68, allocations: 0.9948 MB / 6.93 GB, free: 62.48 MB / 0.573 GB Notification: Performance of SimCode: time 2.475e-06/22.68, allocations: 1.766 kB / 6.93 GB, free: 62.48 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.153/22.83, allocations: 91.16 MB / 7.019 GB, free: 55.96 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/22.83, allocations: 211.8 kB / 7.019 GB, free: 55.73 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.457/29.29, allocations: 0 / 7.019 GB, free: 55.73 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat