Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008387/0.0008387, allocations: 91.89 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.321e-05/1.317e-05, allocations: 4 kB / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 63.25 MB / 0.5044 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.09/8.196, allocations: 3.171 GB / 3.675 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/8.196, allocations: 80.89 kB / 3.675 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 12.35/20.54, allocations: 3.084 GB / 6.759 GB, free: 72.29 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.845e-06/20.54, allocations: 0 / 6.759 GB, free: 72.29 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002345/20.54, allocations: 69.83 kB / 6.76 GB, free: 72.27 MB / 0.573 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.01598/20.56, allocations: 3.608 MB / 6.763 GB, free: 70.49 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/20.56, allocations: 16.55 kB / 6.763 GB, free: 70.48 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/20.56, allocations: 311.9 kB / 6.763 GB, free: 70.34 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005876/20.57, allocations: 2.085 MB / 6.765 GB, free: 69.88 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/20.57, allocations: 149 kB / 6.766 GB, free: 69.81 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005226/20.57, allocations: 115.8 kB / 6.766 GB, free: 69.81 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004514/20.57, allocations: 2.845 MB / 6.768 GB, free: 69.8 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/20.58, allocations: 3.03 MB / 6.771 GB, free: 69.32 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-05/20.58, allocations: 6 kB / 6.771 GB, free: 69.32 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/20.58, allocations: 3.875 kB / 6.771 GB, free: 69.32 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/20.58, allocations: 207.2 kB / 6.772 GB, free: 69.31 MB / 0.573 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.01759/20.59, allocations: 11.96 MB / 6.783 GB, free: 64.39 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/20.6, allocations: 2.17 MB / 6.785 GB, free: 64.24 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/20.6, allocations: 1.302 MB / 6.787 GB, free: 64.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008707/20.61, allocations: 5.875 MB / 6.792 GB, free: 61.41 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/20.61, allocations: 56.72 kB / 6.792 GB, free: 61.37 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001115/20.61, allocations: 124.5 kB / 6.793 GB, free: 61.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=172): time 5.18e-06/20.61, allocations: 0 / 6.793 GB, free: 61.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=198): time 0.02404/20.63, allocations: 8.558 MB / 6.801 GB, free: 60.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/20.63, allocations: 123.2 kB / 6.801 GB, free: 60.29 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/20.64, allocations: 1.203 MB / 6.802 GB, free: 60.11 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001981/20.64, allocations: 25.7 kB / 6.802 GB, free: 60.08 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007311/20.64, allocations: 1.04 MB / 6.803 GB, free: 59.61 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005723/20.64, allocations: 0.6606 MB / 6.804 GB, free: 59.17 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/20.64, allocations: 5.812 kB / 6.804 GB, free: 59.17 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001398/20.64, allocations: 400.6 kB / 6.804 GB, free: 58.86 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/20.64, allocations: 1.157 MB / 6.805 GB, free: 58.86 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/20.64, allocations: 1.653 MB / 6.807 GB, free: 58.31 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007289/20.65, allocations: 2.597 MB / 6.81 GB, free: 58.29 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/20.65, allocations: 3.969 kB / 6.81 GB, free: 58.29 MB / 0.573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01286/20.66, allocations: 4.856 MB / 6.814 GB, free: 58.04 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001408/20.66, allocations: 5.784 MB / 6.82 GB, free: 52.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/20.66, allocations: 17.72 kB / 6.82 GB, free: 52.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/20.67, allocations: 0.9622 MB / 6.821 GB, free: 51.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/20.67, allocations: 475.6 kB / 6.821 GB, free: 51.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00964/20.68, allocations: 10.48 MB / 6.832 GB, free: 43.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/20.68, allocations: 151 kB / 6.832 GB, free: 43.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009063/20.68, allocations: 109.5 kB / 6.832 GB, free: 43.07 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/20.68, allocations: 3.812 kB / 6.832 GB, free: 43.07 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01362/20.7, allocations: 4.316 MB / 6.836 GB, free: 41.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.996e-05/20.7, allocations: 17.91 kB / 6.836 GB, free: 41.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/20.7, allocations: 0.7991 MB / 6.837 GB, free: 41.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/20.7, allocations: 0.4896 MB / 6.837 GB, free: 41.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009637/20.71, allocations: 10.06 MB / 6.847 GB, free: 32.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/20.71, allocations: 150 kB / 6.847 GB, free: 32.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000682/20.71, allocations: 99.39 kB / 6.847 GB, free: 32.93 MB / 0.573 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.001147/20.72, allocations: 169.4 kB / 6.848 GB, free: 32.77 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009548/20.73, allocations: 3.433 MB / 6.851 GB, free: 31.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007907/20.73, allocations: 200.7 kB / 6.851 GB, free: 31.56 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009777/20.74, allocations: 4.074 MB / 6.855 GB, free: 30.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/20.74, allocations: 25.09 kB / 6.855 GB, free: 30.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/20.74, allocations: 9.609 kB / 6.855 GB, free: 30.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006827/20.74, allocations: 3.533 MB / 6.859 GB, free: 28.89 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/20.76, allocations: 6.263 MB / 6.865 GB, free: 26.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/20.76, allocations: 4 kB / 6.865 GB, free: 26.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/20.76, allocations: 323.7 kB / 6.865 GB, free: 26.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002881/20.76, allocations: 1.011 MB / 6.866 GB, free: 25.48 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/20.76, allocations: 46.67 kB / 6.866 GB, free: 25.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008739/20.77, allocations: 10.34 MB / 6.876 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/20.77, allocations: 0 / 6.876 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/20.78, allocations: 5.29 MB / 6.881 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/20.78, allocations: 0.6011 MB / 6.882 GB, free: 10.06 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004533/20.78, allocations: 19.84 kB / 6.882 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/20.78, allocations: 105.9 kB / 6.882 GB, free: 9.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/20.79, allocations: 164.3 kB / 6.882 GB, free: 9.883 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/20.79, allocations: 83.38 kB / 6.882 GB, free: 9.816 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001306/20.79, allocations: 0.8845 MB / 6.883 GB, free: 9.027 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/20.79, allocations: 0 / 6.883 GB, free: 9.027 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007586/20.79, allocations: 1.886 MB / 6.885 GB, free: 7.176 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,5 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01369/20.81, allocations: 7.101 MB / 6.892 GB, free: 1.109 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.4194/21.23, allocations: 6.235 MB / 6.898 GB, free: 64.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/21.23, allocations: 1.844 kB / 6.898 GB, free: 64.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004013/21.23, allocations: 2.12 MB / 6.9 GB, free: 64.28 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/21.24, allocations: 0.8387 MB / 6.901 GB, free: 64.27 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/21.25, allocations: 5.496 MB / 6.906 GB, free: 63.35 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/21.25, allocations: 1.935 MB / 6.908 GB, free: 62.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005561/21.26, allocations: 1.285 MB / 6.909 GB, free: 62.56 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/21.26, allocations: 0.964 MB / 6.91 GB, free: 62.56 MB / 0.573 GB Notification: Performance of SimCode: time 1.342e-06/21.26, allocations: 0 / 6.91 GB, free: 62.56 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.193/21.45, allocations: 79.8 MB / 6.988 GB, free: 59.32 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/21.45, allocations: 158 kB / 6.988 GB, free: 59.13 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.955/27.41, allocations: 0 / 6.988 GB, free: 59.13 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)