Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.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) 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(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001097, allocations: 100.5 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.001047/0.001048, 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.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004655/0.0004657, allocations: 16 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2654, allocations: 47.59 MB / 326.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.07086/0.3363, allocations: 67.56 MB / 394 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03063/0.367, allocations: 20.65 MB / 414.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.3699, allocations: 107.1 kB / 414.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.373, allocations: 0.9135 MB / 415.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00903/0.3821, allocations: 2.695 MB / 418.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01544/0.3975, allocations: 5.419 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007292/0.4048, allocations: 3.876 MB / 427.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.4087, allocations: 1.523 MB / 429.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4265/0.8353, allocations: 124 MB / 0.5402 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.08391/0.9192, allocations: 53.29 MB / 0.5923 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.9204, allocations: 128 kB / 0.5924 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/0.9377, allocations: 8.003 MB / 0.6002 GB, free: 5.945 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002851/0.9406, allocations: 0.8786 MB / 0.601 GB, free: 5.359 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002012/0.9426, allocations: 0.5293 MB / 0.6016 GB, free: 5.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008466/0.9511, allocations: 3.822 MB / 0.6053 GB, free: 1.762 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.9512, allocations: 0 / 0.6053 GB, free: 1.762 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.9512, allocations: 0 / 0.6053 GB, free: 1.762 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001655/0.9513, allocations: 0 / 0.6053 GB, free: 1.762 MB / 478.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.009474/0.9608, allocations: 3.009 MB / 0.6082 GB, free: 14.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9609, allocations: 11.78 kB / 0.6082 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.9621, allocations: 307.9 kB / 0.6085 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.9655, allocations: 1.523 MB / 0.61 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.9658, allocations: 217.4 kB / 0.6102 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/0.9662, allocations: 199.8 kB / 0.6104 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006155/0.9724, allocations: 3.264 MB / 0.6136 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-05/0.9725, allocations: 7.844 kB / 0.6136 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.9728, allocations: 86.55 kB / 0.6137 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003572/0.9732, allocations: 249.5 kB / 0.6139 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005755/0.9789, allocations: 3.103 MB / 0.617 GB, free: 8.461 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.2922/1.271, allocations: 13.93 MB / 0.6306 GB, free: 135.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/1.277, allocations: 2.21 MB / 0.6327 GB, free: 135.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009456/1.286, allocations: 5.929 MB / 0.6385 GB, free: 133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/1.287, allocations: 52.22 kB / 0.6386 GB, free: 133 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009797/1.288, allocations: 189.2 kB / 0.6388 GB, free: 132.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=173): time 4.669e-06/1.288, allocations: 0 / 0.6388 GB, free: 132.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=199): time 0.02094/1.308, allocations: 9.313 MB / 0.6479 GB, free: 131.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/1.309, allocations: 71.53 kB / 0.6479 GB, free: 131.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/1.311, allocations: 1.825 MB / 0.6497 GB, free: 131.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/1.311, allocations: 61.73 kB / 0.6498 GB, free: 131.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000607/1.312, allocations: 1.056 MB / 0.6508 GB, free: 131 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/1.313, allocations: 0.6846 MB / 0.6515 GB, free: 130.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/1.313, allocations: 48.56 kB / 0.6515 GB, free: 130.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/1.313, allocations: 401.3 kB / 0.6519 GB, free: 130.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/1.315, allocations: 1.205 MB / 0.6531 GB, free: 130.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/1.317, allocations: 1.775 MB / 0.6548 GB, free: 129.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/1.319, allocations: 1.468 MB / 0.6562 GB, free: 129.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/1.319, allocations: 7.094 kB / 0.6562 GB, free: 129.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.006613/1.326, allocations: 4.259 MB / 0.6604 GB, free: 129.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001526/1.327, allocations: 6.965 MB / 0.6672 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/1.327, allocations: 15.31 kB / 0.6672 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/1.341, allocations: 3.64 MB / 0.6708 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.342, allocations: 322.9 kB / 0.6711 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/1.349, allocations: 4.028 MB / 0.675 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/1.352, allocations: 191.2 kB / 0.6752 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/1.352, allocations: 114.5 kB / 0.6753 GB, free: 121.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.352, allocations: 6.969 kB / 0.6753 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006152/1.359, allocations: 3.828 MB / 0.679 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.661e-05/1.359, allocations: 23.8 kB / 0.6791 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009132/1.368, allocations: 2.882 MB / 0.6819 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/1.37, allocations: 371.9 kB / 0.6822 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00513/1.375, allocations: 3.518 MB / 0.6857 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.377, allocations: 187.8 kB / 0.6859 GB, free: 116.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/1.378, allocations: 112.5 kB / 0.686 GB, free: 116.7 MB / 494.1 MB 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 (174): * Single equations (assignments): 173 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 108} Notification: Performance of prepare postOptimizeDAE: time 0.001437/1.379, allocations: 0.7051 MB / 0.6867 GB, free: 116.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/1.38, allocations: 225.3 kB / 0.6869 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006605/1.386, allocations: 4.006 MB / 0.6908 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/1.386, allocations: 27.98 kB / 0.6908 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.386, allocations: 0 / 0.6908 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004839/1.391, allocations: 3.408 MB / 0.6941 GB, free: 110.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/1.401, allocations: 6.369 MB / 0.7004 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.401, allocations: 4 kB / 0.7004 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.403, allocations: 315.1 kB / 0.7007 GB, free: 106 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004112/1.407, allocations: 1.269 MB / 0.7019 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000307/1.407, allocations: 73.25 kB / 0.702 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007576/1.415, allocations: 10.58 MB / 0.7123 GB, free: 94.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.415, allocations: 4.031 kB / 0.7123 GB, free: 94.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008334/1.423, allocations: 5.227 MB / 0.7174 GB, free: 91.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.425, allocations: 0.6326 MB / 0.718 GB, free: 90.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/1.426, allocations: 56.05 kB / 0.7181 GB, free: 90.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.427, allocations: 149.7 kB / 0.7182 GB, free: 90.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/1.428, allocations: 169.6 kB / 0.7184 GB, free: 90.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/1.428, allocations: 77.77 kB / 0.7185 GB, free: 90.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001671/1.43, allocations: 1.21 MB / 0.7196 GB, free: 89.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.43, allocations: 2.625 kB / 0.7196 GB, free: 89.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004902/1.435, allocations: 1.74 MB / 0.7213 GB, free: 87.98 MB / 494.1 MB 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.002265/1.437, allocations: 0.9797 MB / 0.7223 GB, free: 87.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009638/1.447, allocations: 5.036 MB / 0.7272 GB, free: 83.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.447, allocations: 4 kB / 0.7272 GB, free: 83.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004022/1.451, allocations: 2.253 MB / 0.7294 GB, free: 81.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004521/1.455, allocations: 0.9255 MB / 0.7303 GB, free: 81.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.465, allocations: 6.644 MB / 0.7368 GB, free: 75.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.466, allocations: 1.929 MB / 0.7387 GB, free: 73.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003023/1.469, allocations: 0.9483 MB / 0.7396 GB, free: 72.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/1.47, allocations: 189.1 kB / 0.7398 GB, free: 72.18 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/1.47, allocations: 3 kB / 0.7398 GB, free: 72.18 MB / 494.1 MB Notification: Performance of Templates: time 0.08929/1.559, allocations: 69.21 MB / 0.8074 GB, free: 3.242 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) Environment - environmentSimulation: