Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.878/1.878, allocations: 288.3 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 181 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008865/0.0008865, allocations: 86.86 kB / 0.7439 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005762/0.0005763, allocations: 12.53 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2683, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.02781/0.2961, allocations: 30.89 MB / 1.01 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.6566/0.9528, allocations: 135.6 MB / 1.142 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002786/0.9556, allocations: 47.22 kB / 1.142 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.9576, allocations: 0.5299 MB / 1.143 GB, free: 14.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.9643, allocations: 1.676 MB / 1.144 GB, free: 14.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006524/0.9709, allocations: 1.799 MB / 1.146 GB, free: 13.26 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01175/0.9826, allocations: 6.846 MB / 1.153 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00924/0.9919, allocations: 4.557 MB / 1.157 GB, free: 6.965 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007499/0.9995, allocations: 2.781 MB / 1.16 GB, free: 5.387 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006863/1.006, allocations: 2.298 MB / 1.162 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001427/1.008, allocations: 177.8 kB / 1.162 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005653/1.014, allocations: 0.9941 MB / 1.163 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/1.015, allocations: 0.9106 MB / 1.164 GB, free: 2.969 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00277/1.018, allocations: 1.04 MB / 1.165 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009915/1.028, allocations: 6.859 MB / 1.172 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.028, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.067e-06/1.028, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003555/1.028, allocations: 3.938 kB / 1.172 GB, free: 13.57 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01336/1.042, allocations: 4.95 MB / 1.177 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.042, allocations: 11.69 kB / 1.177 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009176/1.051, allocations: 1.42 MB / 1.178 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/1.062, allocations: 4.62 MB / 1.183 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/1.063, allocations: 300.5 kB / 1.183 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/1.064, allocations: 402.7 kB / 1.183 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/1.076, allocations: 5.782 MB / 1.189 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.014e-05/1.076, allocations: 11.92 kB / 1.189 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004607/1.077, allocations: 174 kB / 1.189 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/1.077, allocations: 183.6 kB / 1.189 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/1.089, allocations: 5.592 MB / 1.195 GB, free: 11.77 MB / 0.7292 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.03252/1.122, allocations: 20.24 MB / 1.214 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00768/1.129, allocations: 3.622 MB / 1.218 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/1.132, allocations: 1.907 MB / 1.22 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004437/1.136, allocations: 2.074 MB / 1.222 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=266): time 5.58e-06/1.136, allocations: 0 / 1.222 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=266): time 0.01344/1.15, allocations: 5.132 MB / 1.227 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.15, allocations: 235.7 kB / 1.227 GB, free: 9.316 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006096/1.156, allocations: 3.766 MB / 1.231 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007852/1.157, allocations: 77.7 kB / 1.231 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00215/1.159, allocations: 2.038 MB / 1.233 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.16, allocations: 0.905 MB / 1.234 GB, free: 2.508 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/1.161, allocations: 56 kB / 1.234 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002344/1.161, allocations: 424 kB / 1.234 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/1.164, allocations: 1.552 MB / 1.236 GB, free: 488 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003906/1.168, allocations: 2.243 MB / 1.238 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003814/1.172, allocations: 1.891 MB / 1.24 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/1.172, allocations: 8 kB / 1.24 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01011/1.182, allocations: 4.383 MB / 1.244 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002812/1.185, allocations: 7.615 MB / 1.251 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/1.185, allocations: 20 kB / 1.251 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/1.186, allocations: 120.7 kB / 1.252 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/1.19, allocations: 0.7996 MB / 1.252 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/1.192, allocations: 1.578 MB / 1.254 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/1.196, allocations: 0.532 MB / 1.254 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004925/1.197, allocations: 143.9 kB / 1.255 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.197, allocations: 4 kB / 1.255 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009002/1.206, allocations: 4.045 MB / 1.259 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/1.206, allocations: 16.94 kB / 1.259 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/1.207, allocations: 112.8 kB / 1.259 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003602/1.21, allocations: 0.7995 MB / 1.259 GB, free: 7.008 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/1.212, allocations: 1.579 MB / 1.261 GB, free: 5.293 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/1.217, allocations: 0.489 MB / 1.261 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003396/1.217, allocations: 155.8 kB / 1.262 GB, free: 4.648 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (372): * Single equations (assignments): 371 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003526/1.221, allocations: 1.535 MB / 1.263 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.222, allocations: 387.3 kB / 1.263 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.232, allocations: 4.491 MB / 1.268 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/1.232, allocations: 31.94 kB / 1.268 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.232, allocations: 0 / 1.268 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007511/1.24, allocations: 3.507 MB / 1.271 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/1.259, allocations: 9.335 MB / 1.28 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.259, allocations: 8 kB / 1.28 GB, free: 1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/1.263, allocations: 0.6245 MB / 1.281 GB, free: 384 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/1.263, allocations: 96.77 kB / 1.281 GB, free: 284 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/1.263, allocations: 91.92 kB / 1.281 GB, free: 192 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/1.265, allocations: 1.591 MB / 1.283 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.265, allocations: 8.062 kB / 1.283 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/1.279, allocations: 6.719 MB / 1.289 GB, free: 7.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/1.282, allocations: 1.081 MB / 1.29 GB, free: 6.395 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.283, allocations: 60 kB / 1.29 GB, free: 6.336 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004007/1.288, allocations: 340 kB / 1.291 GB, free: 6.012 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/1.288, allocations: 193.8 kB / 1.291 GB, free: 5.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004015/1.288, allocations: 135.9 kB / 1.291 GB, free: 5.688 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005483/1.294, allocations: 2.656 MB / 1.294 GB, free: 3.051 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.1e-07/1.294, allocations: 0 / 1.294 GB, free: 3.051 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008387/1.302, allocations: 2.302 MB / 1.296 GB, free: 0.7422 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (284): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002254/1.305, allocations: 0.8783 MB / 1.297 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.016/1.321, allocations: 6.161 MB / 1.303 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.321, allocations: 5 kB / 1.303 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00701/1.328, allocations: 2.011 MB / 1.305 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01637/1.344, allocations: 2.042 MB / 1.307 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/1.375, allocations: 11.54 MB / 1.318 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004599/1.38, allocations: 3.184 MB / 1.321 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01491/1.395, allocations: 2.066 MB / 1.323 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/1.397, allocations: 399.1 kB / 1.324 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of SimCode: time 1.833e-06/1.397, allocations: 0 / 1.324 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of Templates: time 0.152/1.549, allocations: 80.47 MB / 1.402 GB, free: 4.348 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)