Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 99.7 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.00109/0.00109, 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.395/1.395, allocations: 205.4 MB / 222.1 MB, free: 5.863 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005391/0.0005392, allocations: 18.44 kB / 0.6735 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2721, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.03973/0.3118, allocations: 38.33 MB / 0.8245 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.6374/0.9493, allocations: 138 MB / 0.9593 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/0.9523, allocations: 51.72 kB / 0.9593 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.954, allocations: 496.2 kB / 0.9598 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.9646, allocations: 3.383 MB / 0.9631 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007562/0.9722, allocations: 2.48 MB / 0.9655 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01125/0.9834, allocations: 7.039 MB / 0.9724 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008964/0.9924, allocations: 4.629 MB / 0.9769 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01216/1.005, allocations: 5.318 MB / 0.9821 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005993/1.011, allocations: 2.354 MB / 0.9844 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001638/1.012, allocations: 176.9 kB / 0.9846 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/1.022, allocations: 3.451 MB / 0.9879 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002504/1.025, allocations: 0.9382 MB / 0.9888 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002821/1.028, allocations: 1.051 MB / 0.9899 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/1.039, allocations: 7.468 MB / 0.9972 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.039, allocations: 0 / 0.9972 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.876e-06/1.039, allocations: 0 / 0.9972 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003856/1.039, allocations: 0 / 0.9972 GB, free: 8.938 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01519/1.054, allocations: 5.121 MB / 1.002 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.054, allocations: 7.281 kB / 1.002 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/1.068, allocations: 1.776 MB / 1.004 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/1.08, allocations: 4.415 MB / 1.008 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003112/1.08, allocations: 306.8 kB / 1.009 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/1.082, allocations: 397.9 kB / 1.009 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/1.098, allocations: 5.885 MB / 1.015 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001693/1.098, allocations: 8.5 kB / 1.015 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/1.1, allocations: 171.6 kB / 1.015 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002607/1.1, allocations: 170.5 kB / 1.015 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/1.115, allocations: 5.672 MB / 1.021 GB, free: 13.78 MB / 0.7481 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.04201/1.157, allocations: 20.88 MB / 1.041 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009133/1.166, allocations: 3.845 MB / 1.045 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002787/1.169, allocations: 2.404 MB / 1.047 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00574/1.175, allocations: 2.145 MB / 1.049 GB, free: 5.344 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=284): time 6.121e-06/1.175, allocations: 0 / 1.049 GB, free: 5.344 MB / 0.7637 GB Notification: Performance of matching and sorting (n=284): time 0.01896/1.194, allocations: 6.869 MB / 1.056 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.194, allocations: 247.8 kB / 1.056 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007328/1.201, allocations: 3.617 MB / 1.06 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007694/1.202, allocations: 79.56 kB / 1.06 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002285/1.205, allocations: 2.013 MB / 1.062 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/1.206, allocations: 0.9715 MB / 1.063 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004913/1.207, allocations: 60 kB / 1.063 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003169/1.207, allocations: 428.1 kB / 1.063 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004016/1.211, allocations: 1.606 MB / 1.065 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004412/1.216, allocations: 2.231 MB / 1.067 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004337/1.22, allocations: 1.947 MB / 1.069 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.22, allocations: 4 kB / 1.069 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.0111/1.231, allocations: 4.487 MB / 1.073 GB, free: 12.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.002756/1.234, allocations: 6.653 MB / 1.08 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.864e-05/1.234, allocations: 16 kB / 1.08 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/1.235, allocations: 115.4 kB / 1.08 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003957/1.239, allocations: 0.7917 MB / 1.08 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/1.241, allocations: 2.162 MB / 1.083 GB, free: 1.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/1.246, allocations: 0.5198 MB / 1.083 GB, free: 1.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005947/1.247, allocations: 163.9 kB / 1.083 GB, free: 1.035 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/1.247, allocations: 5.859 kB / 1.083 GB, free: 1.031 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009982/1.257, allocations: 4.138 MB / 1.087 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/1.257, allocations: 23.95 kB / 1.087 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/1.258, allocations: 113.5 kB / 1.087 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/1.261, allocations: 0.784 MB / 1.088 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/1.263, allocations: 1.574 MB / 1.09 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/1.267, allocations: 492.8 kB / 1.09 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/1.268, allocations: 167.8 kB / 1.09 GB, free: 9.574 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002937/1.271, allocations: 1.542 MB / 1.092 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.272, allocations: 391.2 kB / 1.092 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.284, allocations: 5.091 MB / 1.097 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/1.284, allocations: 28 kB / 1.097 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.284, allocations: 0 / 1.097 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00948/1.294, allocations: 4.095 MB / 1.101 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/1.315, allocations: 9.693 MB / 1.111 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.315, allocations: 0 / 1.111 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/1.318, allocations: 0.6047 MB / 1.111 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/1.321, allocations: 0.6622 MB / 1.112 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003106/1.322, allocations: 91.92 kB / 1.112 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005256/1.327, allocations: 7.562 MB / 1.119 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.327, allocations: 4.031 kB / 1.119 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/1.342, allocations: 6.856 MB / 1.126 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002906/1.345, allocations: 1.089 MB / 1.127 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.346, allocations: 59.98 kB / 1.127 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003987/1.35, allocations: 311.4 kB / 1.128 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/1.351, allocations: 186 kB / 1.128 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003542/1.351, allocations: 139.9 kB / 1.128 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.004673/1.356, allocations: 2.55 MB / 1.13 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/1.356, allocations: 4 kB / 1.13 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008442/1.364, allocations: 2.546 MB / 1.133 GB, free: 13.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (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,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002716/1.367, allocations: 1.083 MB / 1.134 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.38, allocations: 6.334 MB / 1.14 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.38, allocations: 0.5625 kB / 1.14 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004656/1.385, allocations: 2.184 MB / 1.142 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008106/1.393, allocations: 1.906 MB / 1.144 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/1.412, allocations: 11.6 MB / 1.155 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/1.416, allocations: 3.198 MB / 1.159 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.008725/1.424, allocations: 2.328 MB / 1.161 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/1.426, allocations: 435.1 kB / 1.161 GB, free: 344 kB / 0.8731 GB Notification: Performance of SimCode: time 8.42e-07/1.426, allocations: 0 / 1.161 GB, free: 344 kB / 0.8731 GB Notification: Performance of Templates: time 0.1234/1.549, allocations: 82.67 MB / 1.242 GB, free: 14.42 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) Environment - environmentSimulation: