Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.605/4.605, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002425/0.002425, allocations: 354.3 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.812/3.812, allocations: 410.7 MB / 1.112 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001782/0.001781, allocations: 183.1 kB / 1.225 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005146, allocations: 12 kB / 1.348 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.56/0.5605, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.02671/0.5873, allocations: 28.02 MB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1433/0.7306, allocations: 144.6 MB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.7325, allocations: 51.69 kB / 1.629 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.7339, allocations: 496.6 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.7384, allocations: 1.615 MB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004943/0.7433, allocations: 1.631 MB / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02866/0.772, allocations: 36.56 MB / 1.669 GB, free: 71.25 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01527/0.7873, allocations: 11.55 MB / 1.68 GB, free: 59.64 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.7993, allocations: 7.71 MB / 1.688 GB, free: 51.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01189/0.8112, allocations: 8.124 MB / 1.695 GB, free: 43.74 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.8131, allocations: 448 kB / 1.696 GB, free: 43.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005444/0.8185, allocations: 1.159 MB / 1.697 GB, free: 42.14 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.821, allocations: 2.315 MB / 1.699 GB, free: 39.82 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00352/0.8245, allocations: 2.519 MB / 1.702 GB, free: 37.29 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01592/0.8405, allocations: 16.65 MB / 1.718 GB, free: 20.59 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.442e-06/0.8405, allocations: 0 / 1.718 GB, free: 20.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.101e-06/0.8405, allocations: 0 / 1.718 GB, free: 20.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003092/0.8408, allocations: 0 / 1.718 GB, free: 20.59 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2396 * Number of variables: 2396 Notification: Performance of Generate backend data structure: time 0.02326/0.8641, allocations: 11.34 MB / 1.729 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.8642, allocations: 11.62 kB / 1.729 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.8763, allocations: 2.222 MB / 1.731 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.067/1.943, allocations: 13.97 MB / 1.745 GB, free: 250.5 MB / 0.8543 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007532/1.944, allocations: 0.6638 MB / 1.746 GB, free: 250.2 MB / 0.8543 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002754/1.947, allocations: 0.8925 MB / 1.746 GB, free: 249.9 MB / 0.8543 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03435/1.981, allocations: 14.22 MB / 1.76 GB, free: 243.1 MB / 0.8543 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000247/1.982, allocations: 33.72 kB / 1.76 GB, free: 243.1 MB / 0.8543 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/1.983, allocations: 391.5 kB / 1.761 GB, free: 242.8 MB / 0.8543 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004804/1.983, allocations: 467.2 kB / 1.761 GB, free: 242.7 MB / 0.8543 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03368/2.017, allocations: 12.73 MB / 1.774 GB, free: 231.7 MB / 0.8543 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.07739/2.094, allocations: 50.98 MB / 1.823 GB, free: 179.9 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/2.111, allocations: 8.165 MB / 1.831 GB, free: 171.8 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008504/2.119, allocations: 4.471 MB / 1.836 GB, free: 167.4 MB / 0.8543 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/2.121, allocations: 1.561 MB / 1.837 GB, free: 165.5 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008979/2.13, allocations: 4.32 MB / 1.841 GB, free: 161.2 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=553): time 1.171e-05/2.13, allocations: 0 / 1.841 GB, free: 161.2 MB / 0.8543 GB Notification: Performance of matching and sorting (n=553): time 0.02795/2.158, allocations: 10.83 MB / 1.852 GB, free: 150.2 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/2.158, allocations: 291.7 kB / 1.852 GB, free: 149.9 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/2.172, allocations: 8.427 MB / 1.861 GB, free: 141.5 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/2.173, allocations: 137.7 kB / 1.861 GB, free: 141.3 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.004523/2.177, allocations: 4.993 MB / 1.866 GB, free: 136.3 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.002157/2.18, allocations: 1.922 MB / 1.867 GB, free: 134.4 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005286/2.18, allocations: 132 kB / 1.868 GB, free: 134.3 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0003515/2.18, allocations: 0.5793 MB / 1.868 GB, free: 133.7 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007929/2.188, allocations: 3.628 MB / 1.872 GB, free: 130.1 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008972/2.197, allocations: 5.487 MB / 1.877 GB, free: 123.8 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009505/2.207, allocations: 4.62 MB / 1.882 GB, free: 119.2 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.746e-05/2.207, allocations: 16 kB / 1.882 GB, free: 119.1 MB / 0.8543 GB Notification: Performance of matching and sorting (n=875) (initialization): time 0.02284/2.23, allocations: 10.24 MB / 1.892 GB, free: 108.8 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007497/2.231, allocations: 1.715 MB / 1.893 GB, free: 106.3 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.309e-05/2.231, allocations: 56 kB / 1.893 GB, free: 106.3 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/2.231, allocations: 96 kB / 1.893 GB, free: 106.2 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009785/2.241, allocations: 1.72 MB / 1.895 GB, free: 104.5 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001365/2.241, allocations: 123.6 kB / 1.895 GB, free: 104.4 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/2.251, allocations: 1.034 MB / 1.896 GB, free: 103.3 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/2.252, allocations: 339.8 kB / 1.896 GB, free: 103 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/2.252, allocations: 4 kB / 1.896 GB, free: 103 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02084/2.273, allocations: 9.48 MB / 1.906 GB, free: 93.43 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.407e-05/2.273, allocations: 52 kB / 1.906 GB, free: 93.38 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.303e-05/2.273, allocations: 96 kB / 1.906 GB, free: 93.29 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01453/2.288, allocations: 1.72 MB / 1.908 GB, free: 91.56 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003094/2.288, allocations: 127.6 kB / 1.908 GB, free: 91.44 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02174/2.31, allocations: 0.9308 MB / 1.909 GB, free: 90.5 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/2.312, allocations: 343.8 kB / 1.909 GB, free: 90.17 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (875): * Single equations (assignments): 875 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01736/2.33, allocations: 4.004 MB / 1.913 GB, free: 86.15 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004779/2.334, allocations: 0.8839 MB / 1.914 GB, free: 85.26 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03705/2.371, allocations: 8.861 MB / 1.922 GB, free: 76.32 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.887e-05/2.371, allocations: 56 kB / 1.922 GB, free: 76.27 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/2.372, allocations: 0 / 1.922 GB, free: 76.27 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01715/2.389, allocations: 6.979 MB / 1.929 GB, free: 69.2 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04111/2.43, allocations: 19.05 MB / 1.948 GB, free: 49.92 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/2.43, allocations: 0 / 1.948 GB, free: 49.92 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00807/2.438, allocations: 1.357 MB / 1.949 GB, free: 48.56 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.715e-05/2.438, allocations: 20 kB / 1.949 GB, free: 48.54 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006188/2.439, allocations: 179.8 kB / 1.949 GB, free: 48.37 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.748e-05/2.439, allocations: 16 kB / 1.949 GB, free: 48.35 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.825e-06/2.439, allocations: 7.984 kB / 1.949 GB, free: 48.34 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0267/2.465, allocations: 12.79 MB / 1.962 GB, free: 35.38 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006054/2.472, allocations: 2.047 MB / 1.964 GB, free: 33.3 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/2.473, allocations: 120 kB / 1.964 GB, free: 33.19 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00803/2.481, allocations: 0.6908 MB / 1.965 GB, free: 32.51 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006914/2.482, allocations: 327.9 kB / 1.965 GB, free: 32.19 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007756/2.483, allocations: 291.7 kB / 1.965 GB, free: 31.9 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.0114/2.494, allocations: 5.89 MB / 1.971 GB, free: 26.05 MB / 0.8543 GB Notification: Performance of sort global known variables: time 1.146e-06/2.494, allocations: 0 / 1.971 GB, free: 26.05 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.01655/2.511, allocations: 5.138 MB / 1.976 GB, free: 20.93 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (569): * Single equations (assignments): 563 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004379/2.515, allocations: 1.234 MB / 1.977 GB, free: 20.15 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.02772/2.543, allocations: 13.39 MB / 1.99 GB, free: 6.715 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/2.543, allocations: 11.19 kB / 1.99 GB, free: 6.699 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.00796/2.551, allocations: 3.812 MB / 1.994 GB, free: 2.879 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0279/2.579, allocations: 5.634 MB / 2 GB, free: 13.39 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05595/2.635, allocations: 27.26 MB / 2.026 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/2.647, allocations: 7.145 MB / 2.033 GB, free: 10.89 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.02817/2.675, allocations: 5.862 MB / 2.039 GB, free: 5.02 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004018/2.679, allocations: 0.8037 MB / 2.04 GB, free: 4.215 MB / 0.9012 GB Notification: Performance of SimCode: time 1.68e-06/2.679, allocations: 0 / 2.04 GB, free: 4.215 MB / 0.9012 GB Notification: Performance of Templates: time 0.9201/3.6, allocations: 186.7 MB / 2.222 GB, free: 213.6 MB / 0.948 GB