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.001641/0.00164, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001161/0.001161, allocations: 95.28 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5391/0.5391, allocations: 43.54 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005218, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1375, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.57/10.71, allocations: 3.164 GB / 3.643 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/10.71, allocations: 82.56 kB / 3.643 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 14.28/24.99, allocations: 3.1 GB / 6.743 GB, free: 54.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.515e-06/24.99, allocations: 0 / 6.743 GB, free: 54.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003532/24.99, allocations: 72.17 kB / 6.743 GB, free: 54.55 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.01976/25.01, allocations: 3.9 MB / 6.746 GB, free: 52.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/25.01, allocations: 14.12 kB / 6.746 GB, free: 52.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002091/25.01, allocations: 351.7 kB / 6.747 GB, free: 52.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/25.01, allocations: 323.4 kB / 6.747 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009219/25.02, allocations: 2.094 MB / 6.749 GB, free: 51.92 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/25.02, allocations: 222.6 kB / 6.749 GB, free: 51.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/25.02, allocations: 196.6 kB / 6.75 GB, free: 51.85 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/25.03, allocations: 3.361 MB / 6.753 GB, free: 51.35 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/25.03, allocations: 3.656 kB / 6.753 GB, free: 51.35 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006501/25.03, allocations: 86.67 kB / 6.753 GB, free: 51.35 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003746/25.03, allocations: 208 kB / 6.753 GB, free: 51.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009937/25.04, allocations: 3.11 MB / 6.756 GB, free: 51.3 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.03399/25.08, allocations: 12.46 MB / 6.768 GB, free: 45.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007045/25.08, allocations: 2.248 MB / 6.77 GB, free: 44.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/25.1, allocations: 5.879 MB / 6.776 GB, free: 40.65 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/25.1, allocations: 59.97 kB / 6.776 GB, free: 40.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001644/25.1, allocations: 196.7 kB / 6.776 GB, free: 40.47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=174): time 7.535e-06/25.1, allocations: 3.938 kB / 6.776 GB, free: 40.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=200): time 0.05411/25.16, allocations: 10.73 MB / 6.787 GB, free: 34.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/25.16, allocations: 124.8 kB / 6.787 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/25.16, allocations: 1.679 MB / 6.789 GB, free: 33.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008656/25.16, allocations: 61.7 kB / 6.789 GB, free: 33.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/25.16, allocations: 0.9629 MB / 6.79 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001597/25.16, allocations: 0.6832 MB / 6.79 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/25.17, allocations: 48 kB / 6.79 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002655/25.17, allocations: 402 kB / 6.791 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/25.17, allocations: 1.233 MB / 6.792 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004731/25.17, allocations: 1.744 MB / 6.794 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/25.18, allocations: 1.475 MB / 6.795 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.961e-05/25.18, allocations: 4 kB / 6.795 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01289/25.19, allocations: 3.847 MB / 6.799 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001246/25.19, allocations: 5.579 MB / 6.804 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/25.19, allocations: 12 kB / 6.804 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007824/25.2, allocations: 1.209 MB / 6.806 GB, free: 17.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/25.2, allocations: 469 kB / 6.806 GB, free: 16.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/25.22, allocations: 10.63 MB / 6.816 GB, free: 6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/25.22, allocations: 204.9 kB / 6.817 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008549/25.22, allocations: 109.7 kB / 6.817 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/25.22, allocations: 7.938 kB / 6.817 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01194/25.24, allocations: 3.572 MB / 6.82 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.167e-05/25.24, allocations: 12 kB / 6.82 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004364/25.24, allocations: 0.8678 MB / 6.821 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/25.25, allocations: 498 kB / 6.822 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4842/25.73, allocations: 10.28 MB / 6.832 GB, free: 42.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/25.73, allocations: 201 kB / 6.832 GB, free: 42.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007277/25.73, allocations: 104.3 kB / 6.832 GB, free: 42.95 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.002776/25.74, allocations: 0.704 MB / 6.833 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009306/25.74, allocations: 229 kB / 6.833 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/25.75, allocations: 4.078 MB / 6.837 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.024e-05/25.75, allocations: 20.5 kB / 6.837 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/25.75, allocations: 4.094 kB / 6.837 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01161/25.77, allocations: 3.467 MB / 6.84 GB, free: 42.13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/25.79, allocations: 6.444 MB / 6.846 GB, free: 41.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/25.79, allocations: 0 / 6.846 GB, free: 41.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/25.79, allocations: 318.8 kB / 6.847 GB, free: 41.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008364/25.8, allocations: 1.275 MB / 6.848 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007925/25.8, allocations: 77.14 kB / 6.848 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/25.81, allocations: 10.59 MB / 6.858 GB, free: 33.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/25.81, allocations: 3.938 kB / 6.858 GB, free: 33.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/25.83, allocations: 5.274 MB / 6.864 GB, free: 33.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00306/25.83, allocations: 0.6435 MB / 6.864 GB, free: 33.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/25.84, allocations: 54.56 kB / 6.864 GB, free: 33.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003806/25.84, allocations: 150.5 kB / 6.864 GB, free: 33.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009375/25.84, allocations: 169.6 kB / 6.865 GB, free: 33.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003705/25.84, allocations: 87.22 kB / 6.865 GB, free: 33.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003227/25.84, allocations: 1.271 MB / 6.866 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.22e-07/25.84, allocations: 0 / 6.866 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01114/25.85, allocations: 1.979 MB / 6.868 GB, free: 33.13 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.02189/25.88, allocations: 7.103 MB / 6.875 GB, free: 32.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01946/25.9, allocations: 6.108 MB / 6.881 GB, free: 31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/25.9, allocations: 0 / 6.881 GB, free: 31 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007385/25.9, allocations: 2.275 MB / 6.883 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008156/25.91, allocations: 0.9213 MB / 6.884 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/25.95, allocations: 18.48 MB / 6.902 GB, free: 17.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004699/25.95, allocations: 1.915 MB / 6.904 GB, free: 32.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003178/25.95, allocations: 1.041 MB / 6.905 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/25.95, allocations: 0 / 6.905 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.842/30.8, allocations: 131.2 MB / 7.033 GB, free: 2.312 MB / 0.573 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