Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009961/0.0009962, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009222/0.0009223, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.337/0.337, allocations: 38.03 MB / 308.4 MB, free: 10.43 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006315/0.0006317, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1364, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.3199/0.4564, allocations: 67.61 MB / 0.4898 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0293/0.4857, allocations: 20.65 MB / 0.5099 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.4891, allocations: 104.2 kB / 0.51 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003238/0.4923, allocations: 0.916 MB / 0.5109 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.5044, allocations: 2.698 MB / 0.5136 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02127/0.5257, allocations: 5.41 MB / 0.5189 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01222/0.5379, allocations: 3.86 MB / 0.5226 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004313/0.5423, allocations: 1.527 MB / 0.5241 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5106/1.053, allocations: 123.8 MB / 0.645 GB, free: 102.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07624/1.129, allocations: 53.3 MB / 0.6971 GB, free: 69.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000924/1.13, allocations: 128 kB / 0.6972 GB, free: 69.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/1.146, allocations: 8.002 MB / 0.705 GB, free: 62.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001702/1.148, allocations: 0.8727 MB / 0.7059 GB, free: 61.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/1.149, allocations: 0.5314 MB / 0.7064 GB, free: 61.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007099/1.156, allocations: 3.822 MB / 0.7101 GB, free: 58.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.156, allocations: 4 kB / 0.7101 GB, free: 58.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.475e-06/1.156, allocations: 0 / 0.7101 GB, free: 58.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.909e-05/1.156, allocations: 0 / 0.7101 GB, free: 58.04 MB / 494.1 MB 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.007659/1.164, allocations: 3 MB / 0.7131 GB, free: 55.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.164, allocations: 16.02 kB / 0.7131 GB, free: 55.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.165, allocations: 308.8 kB / 0.7134 GB, free: 54.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/1.168, allocations: 1.523 MB / 0.7149 GB, free: 53.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/1.168, allocations: 220.8 kB / 0.7151 GB, free: 53.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/1.168, allocations: 194.3 kB / 0.7153 GB, free: 53.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/1.173, allocations: 3.262 MB / 0.7184 GB, free: 51.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/1.173, allocations: 8.344 kB / 0.7185 GB, free: 51.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/1.173, allocations: 87.86 kB / 0.7185 GB, free: 51.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/1.173, allocations: 249.1 kB / 0.7188 GB, free: 50.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/1.177, allocations: 3.105 MB / 0.7218 GB, free: 48.74 MB / 494.1 MB 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.01662/1.194, allocations: 13.96 MB / 0.7354 GB, free: 36.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/1.197, allocations: 2.216 MB / 0.7376 GB, free: 35.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007654/1.205, allocations: 5.941 MB / 0.7434 GB, free: 29.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.205, allocations: 56.25 kB / 0.7435 GB, free: 29.85 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008862/1.206, allocations: 185.6 kB / 0.7436 GB, free: 29.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=173): time 1.152e-05/1.206, allocations: 0 / 0.7436 GB, free: 29.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=199): time 0.03022/1.236, allocations: 10.94 MB / 0.7543 GB, free: 21.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/1.236, allocations: 75.59 kB / 0.7544 GB, free: 20.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/1.239, allocations: 1.824 MB / 0.7562 GB, free: 19.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002933/1.239, allocations: 60.02 kB / 0.7562 GB, free: 19.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/1.24, allocations: 1.053 MB / 0.7573 GB, free: 18.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006532/1.241, allocations: 0.6894 MB / 0.7579 GB, free: 18.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/1.241, allocations: 46.75 kB / 0.758 GB, free: 18.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/1.241, allocations: 403.1 kB / 0.7584 GB, free: 17.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.243, allocations: 1.204 MB / 0.7595 GB, free: 17.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/1.245, allocations: 1.777 MB / 0.7613 GB, free: 15.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/1.247, allocations: 1.461 MB / 0.7627 GB, free: 14.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.247, allocations: 8 kB / 0.7627 GB, free: 14.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.007582/1.255, allocations: 3.987 MB / 0.7666 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001569/1.257, allocations: 6.972 MB / 0.7734 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/1.257, allocations: 16 kB / 0.7734 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004751/1.261, allocations: 1.266 MB / 0.7747 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.264, allocations: 478 kB / 0.7751 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.274, allocations: 10.62 MB / 0.7855 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/1.278, allocations: 198.4 kB / 0.7857 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006392/1.278, allocations: 113.7 kB / 0.7858 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.278, allocations: 4 kB / 0.7858 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008/1.286, allocations: 3.592 MB / 0.7893 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.685e-05/1.286, allocations: 16.16 kB / 0.7893 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/1.289, allocations: 0.8889 MB / 0.7902 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/1.291, allocations: 0.4983 MB / 0.7907 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.302, allocations: 10.32 MB / 0.8007 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/1.304, allocations: 195.7 kB / 0.8009 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004772/1.305, allocations: 104 kB / 0.801 GB, free: 9.996 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (254): * Single equations (assignments): 246 * 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.001775/1.306, allocations: 0.7134 MB / 0.8017 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006676/1.307, allocations: 229.2 kB / 0.8019 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/1.315, allocations: 4.012 MB / 0.8059 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/1.315, allocations: 28.56 kB / 0.8059 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.315, allocations: 4 kB / 0.8059 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005814/1.321, allocations: 3.402 MB / 0.8092 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.333, allocations: 6.377 MB / 0.8154 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/1.333, allocations: 0 / 0.8154 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.335, allocations: 314.2 kB / 0.8157 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004718/1.34, allocations: 1.269 MB / 0.817 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/1.34, allocations: 75.94 kB / 0.8171 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.351, allocations: 10.58 MB / 0.8274 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.351, allocations: 0 / 0.8274 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.361, allocations: 5.248 MB / 0.8325 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.364, allocations: 0.6228 MB / 0.8331 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007/1.364, allocations: 55.94 kB / 0.8332 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.366, allocations: 151.6 kB / 0.8333 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/1.367, allocations: 169.7 kB / 0.8335 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.367, allocations: 75.95 kB / 0.8336 GB, free: 7.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002098/1.369, allocations: 1.219 MB / 0.8347 GB, free: 6.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/1.369, allocations: 4 kB / 0.8347 GB, free: 6.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006183/1.375, allocations: 1.784 MB / 0.8365 GB, free: 4.883 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,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 (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%) 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.00269/1.378, allocations: 0.977 MB / 0.8374 GB, free: 3.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2187/1.597, allocations: 6.096 MB / 0.8434 GB, free: 208.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.597, allocations: 0 / 0.8434 GB, free: 208.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003759/1.601, allocations: 2.262 MB / 0.8456 GB, free: 208.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/1.605, allocations: 0.9113 MB / 0.8465 GB, free: 208.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008982/1.614, allocations: 6.623 MB / 0.853 GB, free: 206 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.615, allocations: 1.938 MB / 0.8549 GB, free: 205.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00367/1.619, allocations: 1.217 MB / 0.856 GB, free: 205.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/1.619, allocations: 196.4 kB / 0.8562 GB, free: 205.2 MB / 0.545 GB Notification: Performance of SimCode: time 2.225e-06/1.619, allocations: 0.5625 kB / 0.8562 GB, free: 205.2 MB / 0.545 GB Notification: Performance of Templates: time 0.09155/1.711, allocations: 60.78 MB / 0.9156 GB, free: 174.8 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) Environment - environmentSimulation: