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.001337/0.001337, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009099/0.0009098, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.2036/0.2036, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.959e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1162, allocations: 58.87 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.069/9.185, allocations: 3.163 GB / 3.629 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000432/9.186, allocations: 87.14 kB / 3.629 GB, free: 80.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 11.85/21.04, allocations: 3.067 GB / 6.696 GB, free: 62.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.434e-06/21.04, allocations: 0 / 6.696 GB, free: 62.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003128/21.04, allocations: 68.84 kB / 6.696 GB, free: 62.64 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.0207/21.06, allocations: 3.598 MB / 6.7 GB, free: 60.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/21.06, allocations: 13.28 kB / 6.7 GB, free: 60.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/21.06, allocations: 310.4 kB / 6.7 GB, free: 60.82 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007625/21.07, allocations: 2.082 MB / 6.702 GB, free: 60.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/21.07, allocations: 154.8 kB / 6.702 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/21.07, allocations: 113.9 kB / 6.702 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006213/21.08, allocations: 2.848 MB / 6.705 GB, free: 60.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00518/21.09, allocations: 3.027 MB / 6.708 GB, free: 59.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/21.09, allocations: 7.625 kB / 6.708 GB, free: 59.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/21.09, allocations: 3.812 kB / 6.708 GB, free: 59.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002508/21.09, allocations: 202.1 kB / 6.708 GB, free: 59.8 MB / 0.5417 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.02259/21.11, allocations: 11.97 MB / 6.72 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/21.11, allocations: 2.158 MB / 6.722 GB, free: 54.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/21.11, allocations: 1.297 MB / 6.723 GB, free: 54.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008689/21.12, allocations: 5.873 MB / 6.729 GB, free: 51.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/21.12, allocations: 54.55 kB / 6.729 GB, free: 51.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001175/21.12, allocations: 128.1 kB / 6.729 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 3.426e-06/21.12, allocations: 0 / 6.729 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=198): time 0.02574/21.15, allocations: 8.56 MB / 6.738 GB, free: 50.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/21.15, allocations: 127.3 kB / 6.738 GB, free: 50.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/21.15, allocations: 1.202 MB / 6.739 GB, free: 50.63 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002398/21.15, allocations: 29.45 kB / 6.739 GB, free: 50.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007575/21.15, allocations: 1.048 MB / 6.74 GB, free: 50.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006552/21.15, allocations: 0.6525 MB / 6.741 GB, free: 49.69 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/21.15, allocations: 3.75 kB / 6.741 GB, free: 49.69 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001648/21.15, allocations: 399.1 kB / 6.741 GB, free: 49.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/21.16, allocations: 1.156 MB / 6.742 GB, free: 49.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/21.16, allocations: 1.656 MB / 6.744 GB, free: 48.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01417/21.17, allocations: 3.8 MB / 6.747 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.065e-05/21.17, allocations: 3.5 kB / 6.747 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.02186/21.19, allocations: 6.047 MB / 6.753 GB, free: 48.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001762/21.2, allocations: 5.784 MB / 6.759 GB, free: 42.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/21.2, allocations: 17.44 kB / 6.759 GB, free: 42.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/21.2, allocations: 0.9616 MB / 6.76 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/21.2, allocations: 471.6 kB / 6.76 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/21.21, allocations: 10.49 MB / 6.771 GB, free: 34.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/21.22, allocations: 149.8 kB / 6.771 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005576/21.22, allocations: 112.1 kB / 6.771 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/21.22, allocations: 4.031 kB / 6.771 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01835/21.24, allocations: 5.508 MB / 6.776 GB, free: 34.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.212e-05/21.24, allocations: 15.12 kB / 6.776 GB, free: 34.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/21.24, allocations: 0.81 MB / 6.777 GB, free: 34.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/21.24, allocations: 495.4 kB / 6.777 GB, free: 34.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009795/21.25, allocations: 10.06 MB / 6.787 GB, free: 27.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/21.25, allocations: 150.2 kB / 6.787 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/21.26, allocations: 101.2 kB / 6.788 GB, free: 27.12 MB / 0.5417 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.001021/21.26, allocations: 163.4 kB / 6.788 GB, free: 27 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008949/21.27, allocations: 3.442 MB / 6.791 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006632/21.27, allocations: 198.4 kB / 6.791 GB, free: 26.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009958/21.28, allocations: 4.088 MB / 6.795 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/21.28, allocations: 20.28 kB / 6.795 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/21.28, allocations: 3.906 kB / 6.795 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007231/21.28, allocations: 3.538 MB / 6.799 GB, free: 25.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/21.3, allocations: 6.252 MB / 6.805 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/21.3, allocations: 0 / 6.805 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/21.3, allocations: 322.2 kB / 6.805 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00286/21.3, allocations: 1.015 MB / 6.806 GB, free: 25.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/21.3, allocations: 45.42 kB / 6.806 GB, free: 25.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008294/21.31, allocations: 10.34 MB / 6.816 GB, free: 17.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/21.31, allocations: 3 kB / 6.816 GB, free: 17.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009984/21.32, allocations: 5.291 MB / 6.821 GB, free: 17.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/21.32, allocations: 0.5951 MB / 6.822 GB, free: 17.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/21.32, allocations: 22.88 kB / 6.822 GB, free: 17.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/21.32, allocations: 110.1 kB / 6.822 GB, free: 17.19 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/21.32, allocations: 171.1 kB / 6.822 GB, free: 17.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/21.32, allocations: 82.88 kB / 6.822 GB, free: 17.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001303/21.32, allocations: 0.8795 MB / 6.823 GB, free: 17.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/21.32, allocations: 0 / 6.823 GB, free: 17.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007951/21.33, allocations: 1.866 MB / 6.825 GB, free: 16.84 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 () * 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.01413/21.35, allocations: 7.095 MB / 6.832 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009939/21.36, allocations: 5.829 MB / 6.838 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/21.36, allocations: 3 kB / 6.838 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00346/21.36, allocations: 2.117 MB / 6.84 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/21.37, allocations: 0.8152 MB / 6.841 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/21.38, allocations: 5.505 MB / 6.846 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/21.38, allocations: 1.943 MB / 6.848 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004362/21.38, allocations: 1.284 MB / 6.849 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/21.39, allocations: 0.9632 MB / 6.85 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/21.39, allocations: 0 / 6.85 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5423/21.93, allocations: 79.67 MB / 6.928 GB, free: 53.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/21.93, allocations: 173.8 kB / 6.928 GB, free: 52.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.912/27.84, allocations: 0 / 6.928 GB, free: 52.91 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)