Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002302/0.002302, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 99.23 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3216/0.3216, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.952e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4036, allocations: 58.86 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.1/10.5, allocations: 3.163 GB / 3.629 GB, free: 80.94 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/10.5, allocations: 78.08 kB / 3.629 GB, free: 80.94 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 14.16/24.66, allocations: 3.067 GB / 6.696 GB, free: 64.83 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.415e-06/24.66, allocations: 0 / 6.696 GB, free: 64.83 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0003795/24.66, allocations: 71.62 kB / 6.696 GB, free: 64.82 MB / 0.5421 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.01858/24.68, allocations: 3.596 MB / 6.7 GB, free: 63.04 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/24.68, allocations: 10.25 kB / 6.7 GB, free: 63.04 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/24.69, allocations: 309.7 kB / 6.7 GB, free: 62.9 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/24.7, allocations: 2.083 MB / 6.702 GB, free: 62.43 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/24.7, allocations: 153.8 kB / 6.702 GB, free: 62.37 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001466/24.7, allocations: 110.5 kB / 6.702 GB, free: 62.37 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00958/24.71, allocations: 2.853 MB / 6.705 GB, free: 62.36 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/24.72, allocations: 3.023 MB / 6.708 GB, free: 61.88 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/24.72, allocations: 10.59 kB / 6.708 GB, free: 61.88 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008566/24.72, allocations: 3.344 kB / 6.708 GB, free: 61.88 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003854/24.72, allocations: 200.3 kB / 6.708 GB, free: 61.88 MB / 0.5421 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.03393/24.76, allocations: 11.96 MB / 6.72 GB, free: 56.96 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007513/24.76, allocations: 2.165 MB / 6.722 GB, free: 56.82 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/24.77, allocations: 1.304 MB / 6.723 GB, free: 56.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01734/24.78, allocations: 5.874 MB / 6.729 GB, free: 54 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/24.78, allocations: 52.91 kB / 6.729 GB, free: 53.96 MB / 0.5421 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001941/24.79, allocations: 129.4 kB / 6.729 GB, free: 53.89 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=172): time 1.307e-05/24.79, allocations: 0 / 6.729 GB, free: 53.89 MB / 0.5421 GB Notification: Performance of matching and sorting (n=198): time 0.04419/24.83, allocations: 8.565 MB / 6.738 GB, free: 52.99 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/24.83, allocations: 125.6 kB / 6.738 GB, free: 52.86 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/24.83, allocations: 1.208 MB / 6.739 GB, free: 52.69 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0007307/24.83, allocations: 29.61 kB / 6.739 GB, free: 52.66 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007935/24.84, allocations: 0.9966 MB / 6.74 GB, free: 52.11 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/24.84, allocations: 0.6552 MB / 6.74 GB, free: 51.68 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/24.84, allocations: 1.219 kB / 6.74 GB, free: 51.68 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001893/24.84, allocations: 401.3 kB / 6.741 GB, free: 51.37 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/24.84, allocations: 1.162 MB / 6.742 GB, free: 51.36 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/24.84, allocations: 1.651 MB / 6.744 GB, free: 50.81 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0255/24.87, allocations: 3.802 MB / 6.747 GB, free: 50.79 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-05/24.87, allocations: 3.938 kB / 6.747 GB, free: 50.79 MB / 0.5421 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.03345/24.9, allocations: 5.948 MB / 6.753 GB, free: 50.59 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.001294/24.9, allocations: 5.665 MB / 6.759 GB, free: 44.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.368e-05/24.9, allocations: 12.16 kB / 6.759 GB, free: 44.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004854/24.91, allocations: 0.9643 MB / 6.76 GB, free: 44.63 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/24.91, allocations: 468.7 kB / 6.76 GB, free: 44.63 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/24.93, allocations: 10.49 MB / 6.77 GB, free: 36.13 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/24.93, allocations: 152.8 kB / 6.77 GB, free: 36.11 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008243/24.93, allocations: 112.4 kB / 6.771 GB, free: 36.09 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/24.93, allocations: 3.719 kB / 6.771 GB, free: 36.09 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03164/24.96, allocations: 5.509 MB / 6.776 GB, free: 34.79 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.027e-05/24.97, allocations: 18.14 kB / 6.776 GB, free: 34.79 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003544/24.97, allocations: 0.7855 MB / 6.777 GB, free: 34.56 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/24.97, allocations: 496 kB / 6.777 GB, free: 34.52 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/24.99, allocations: 10.05 MB / 6.787 GB, free: 25.84 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/24.99, allocations: 145.8 kB / 6.787 GB, free: 25.82 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008964/24.99, allocations: 102.1 kB / 6.787 GB, free: 25.8 MB / 0.5421 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.0009475/24.99, allocations: 171.5 kB / 6.787 GB, free: 25.65 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01413/25.01, allocations: 3.435 MB / 6.791 GB, free: 24.54 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/25.01, allocations: 200.4 kB / 6.791 GB, free: 24.44 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/25.02, allocations: 4.079 MB / 6.795 GB, free: 23.09 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.397e-05/25.02, allocations: 29.06 kB / 6.795 GB, free: 23.09 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/25.02, allocations: 2.578 kB / 6.795 GB, free: 23.09 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01268/25.03, allocations: 3.543 MB / 6.798 GB, free: 21.74 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/25.06, allocations: 6.256 MB / 6.805 GB, free: 17.38 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/25.06, allocations: 3.938 kB / 6.805 GB, free: 17.37 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/25.06, allocations: 322.8 kB / 6.805 GB, free: 17.11 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/25.06, allocations: 1.013 MB / 6.806 GB, free: 16.35 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005746/25.06, allocations: 46.77 kB / 6.806 GB, free: 16.32 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/25.08, allocations: 10.34 MB / 6.816 GB, free: 5.984 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/25.08, allocations: 96 / 6.816 GB, free: 5.984 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/25.09, allocations: 5.291 MB / 6.821 GB, free: 1.449 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00249/25.1, allocations: 0.5936 MB / 6.822 GB, free: 0.9375 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007618/25.1, allocations: 19.56 kB / 6.822 GB, free: 0.9219 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/25.1, allocations: 118.2 kB / 6.822 GB, free: 0.8438 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000537/25.1, allocations: 164.8 kB / 6.822 GB, free: 0.7461 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003324/25.1, allocations: 83.19 kB / 6.822 GB, free: 0.6797 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.4408/25.54, allocations: 0.8794 MB / 6.823 GB, free: 58.15 MB / 0.5421 GB Notification: Performance of sort global known variables: time 7.61e-07/25.54, allocations: 1.031 kB / 6.823 GB, free: 58.15 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01184/25.55, allocations: 1.871 MB / 6.825 GB, free: 58.15 MB / 0.5421 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,5 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.02617/25.58, allocations: 7.084 MB / 6.832 GB, free: 57.37 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.01965/25.6, allocations: 5.759 MB / 6.837 GB, free: 56.32 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/25.6, allocations: 0.875 kB / 6.837 GB, free: 56.32 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.007559/25.61, allocations: 2.106 MB / 6.839 GB, free: 55.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008474/25.62, allocations: 0.8127 MB / 6.84 GB, free: 55.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/25.64, allocations: 5.526 MB / 6.846 GB, free: 54.82 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/25.64, allocations: 1.919 MB / 6.847 GB, free: 54.07 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/25.64, allocations: 1.008 MB / 6.848 GB, free: 54.06 MB / 0.5421 GB Notification: Performance of SimCode: time 1.453e-06/25.64, allocations: 0 / 6.848 GB, free: 54.06 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.038/30.68, allocations: 129.9 MB / 6.975 GB, free: 25.1 MB / 0.5421 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat