Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 184.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2349/0.2349, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003415, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.023/8.164, allocations: 3.164 GB / 3.643 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003779/8.164, allocations: 87.19 kB / 3.643 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 10.93/19.1, allocations: 3.1 GB / 6.743 GB, free: 58.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.647e-06/19.1, allocations: 0 / 6.743 GB, free: 58.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004372/19.1, allocations: 63.39 kB / 6.743 GB, free: 58.72 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: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01924/19.12, allocations: 3.912 MB / 6.746 GB, free: 56.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/19.12, allocations: 9.844 kB / 6.746 GB, free: 56.76 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002309/19.12, allocations: 351.5 kB / 6.747 GB, free: 56.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/19.12, allocations: 312.7 kB / 6.747 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008502/19.13, allocations: 2.111 MB / 6.749 GB, free: 56.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000386/19.13, allocations: 215.8 kB / 6.749 GB, free: 56 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/19.13, allocations: 208.8 kB / 6.75 GB, free: 56 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/19.14, allocations: 3.359 MB / 6.753 GB, free: 55.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001475/19.14, allocations: 7.469 kB / 6.753 GB, free: 55.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/19.14, allocations: 90.27 kB / 6.753 GB, free: 55.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003428/19.14, allocations: 197.6 kB / 6.753 GB, free: 55.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007371/19.15, allocations: 3.108 MB / 6.756 GB, free: 55.44 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.02664/19.18, allocations: 12.46 MB / 6.768 GB, free: 49.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/19.18, allocations: 2.247 MB / 6.771 GB, free: 48.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/19.19, allocations: 5.892 MB / 6.776 GB, free: 44.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/19.19, allocations: 55.66 kB / 6.776 GB, free: 44.35 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001584/19.2, allocations: 195.2 kB / 6.776 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=174): time 9.017e-06/19.2, allocations: 0 / 6.776 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=200): time 0.03385/19.23, allocations: 10.72 MB / 6.787 GB, free: 35.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/19.23, allocations: 124.8 kB / 6.787 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/19.23, allocations: 1.671 MB / 6.789 GB, free: 34.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003099/19.23, allocations: 63.72 kB / 6.789 GB, free: 34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008514/19.23, allocations: 1.036 MB / 6.79 GB, free: 33.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007659/19.23, allocations: 0.6951 MB / 6.79 GB, free: 32.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/19.23, allocations: 44 kB / 6.791 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001779/19.23, allocations: 404 kB / 6.791 GB, free: 32.01 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/19.24, allocations: 1.232 MB / 6.792 GB, free: 30.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/19.24, allocations: 1.741 MB / 6.794 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/19.24, allocations: 1.474 MB / 6.795 GB, free: 28.01 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/19.24, allocations: 4 kB / 6.795 GB, free: 28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007424/19.25, allocations: 3.983 MB / 6.799 GB, free: 24.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001434/19.25, allocations: 5.804 MB / 6.805 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/19.25, allocations: 12 kB / 6.805 GB, free: 18.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004514/19.25, allocations: 1.216 MB / 6.806 GB, free: 17.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/19.26, allocations: 465.5 kB / 6.806 GB, free: 17.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008882/19.27, allocations: 10.62 MB / 6.817 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/19.27, allocations: 199.2 kB / 6.817 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000816/19.27, allocations: 110.8 kB / 6.817 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/19.27, allocations: 7.703 kB / 6.817 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008589/19.28, allocations: 3.568 MB / 6.821 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.484e-05/19.28, allocations: 16 kB / 6.821 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/19.28, allocations: 0.8833 MB / 6.821 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/19.29, allocations: 0.491 MB / 6.822 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4416/19.73, allocations: 10.3 MB / 6.832 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/19.73, allocations: 194.8 kB / 6.832 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/19.73, allocations: 108.8 kB / 6.832 GB, free: 47.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 () * Number of clocked 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 15,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002137/19.73, allocations: 0.7144 MB / 6.833 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007028/19.73, allocations: 227.1 kB / 6.833 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008231/19.74, allocations: 4.069 MB / 6.837 GB, free: 46.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/19.74, allocations: 25.03 kB / 6.837 GB, free: 46.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/19.74, allocations: 4.219 kB / 6.837 GB, free: 46.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006334/19.75, allocations: 3.464 MB / 6.841 GB, free: 46.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/19.76, allocations: 6.446 MB / 6.847 GB, free: 45.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/19.76, allocations: 2.297 kB / 6.847 GB, free: 45.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/19.77, allocations: 320.8 kB / 6.847 GB, free: 45.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005118/19.77, allocations: 1.27 MB / 6.848 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003296/19.77, allocations: 78.02 kB / 6.849 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008799/19.78, allocations: 10.59 MB / 6.859 GB, free: 37.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/19.78, allocations: 0 / 6.859 GB, free: 37.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009182/19.79, allocations: 5.275 MB / 6.864 GB, free: 37.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/19.79, allocations: 0.6398 MB / 6.865 GB, free: 37.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/19.79, allocations: 55.58 kB / 6.865 GB, free: 37.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/19.79, allocations: 157.3 kB / 6.865 GB, free: 37.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/19.79, allocations: 172.1 kB / 6.865 GB, free: 37.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/19.79, allocations: 83.94 kB / 6.865 GB, free: 37.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001915/19.8, allocations: 1.261 MB / 6.866 GB, free: 37.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/19.8, allocations: 3.156 kB / 6.866 GB, free: 37.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006398/19.8, allocations: 1.986 MB / 6.868 GB, free: 37.18 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 170 * 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%) 2,(1,100.0%) 6,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/19.81, allocations: 7.104 MB / 6.875 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01095/19.83, allocations: 6.137 MB / 6.881 GB, free: 35.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/19.83, allocations: 0 / 6.881 GB, free: 35.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004453/19.83, allocations: 2.271 MB / 6.883 GB, free: 34.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007241/19.84, allocations: 0.9217 MB / 6.884 GB, free: 34.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/19.86, allocations: 18.44 MB / 6.902 GB, free: 21.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/19.86, allocations: 1.94 MB / 6.904 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00548/19.87, allocations: 1.217 MB / 6.905 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002363/19.87, allocations: 1.016 MB / 6.906 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of SimCode: time 2.013e-06/19.87, allocations: 0 / 6.906 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/20.04, allocations: 86.76 MB / 6.991 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/20.04, allocations: 240.5 kB / 6.991 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.533/25.57, allocations: 0 / 6.991 GB, free: 8.566 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat