Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.65/2.65, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.00231/0.00231, allocations: 190.4 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001205/0.001205, allocations: 93.42 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004864, allocations: 15.88 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2154, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series): time 0.09803/0.3135, allocations: 66.67 MB / 1.043 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.9887/1.302, allocations: 148.4 MB / 1.188 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005656/1.308, allocations: 103.7 kB / 1.188 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006143/1.314, allocations: 1.217 MB / 1.19 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01726/1.332, allocations: 3.635 MB / 1.193 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01408/1.346, allocations: 3.046 MB / 1.196 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02319/1.369, allocations: 10.42 MB / 1.206 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01649/1.385, allocations: 7.3 MB / 1.213 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01336/1.399, allocations: 4.44 MB / 1.218 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/1.409, allocations: 3.654 MB / 1.221 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002897/1.412, allocations: 272 kB / 1.222 GB, free: 456 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009754/1.422, allocations: 1.498 MB / 1.223 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.003917/1.426, allocations: 1.404 MB / 1.224 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.004337/1.431, allocations: 1.661 MB / 1.226 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.02141/1.452, allocations: 11.61 MB / 1.237 GB, free: 240 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.452, allocations: 0 / 1.237 GB, free: 240 kB / 0.7605 GB Notification: Performance of FrontEnd: time 3.867e-06/1.452, allocations: 0 / 1.237 GB, free: 240 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004887/1.453, allocations: 0 / 1.237 GB, free: 240 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1719 * Number of variables: 1719 Notification: Performance of Generate backend data structure: time 0.02923/1.482, allocations: 7.781 MB / 1.245 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.482, allocations: 15.97 kB / 1.245 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03169/1.514, allocations: 2.904 MB / 1.248 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02576/1.539, allocations: 7.112 MB / 1.255 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006783/1.54, allocations: 493.1 kB / 1.255 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002747/1.543, allocations: 0.6483 MB / 1.256 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03775/1.581, allocations: 9.337 MB / 1.265 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/1.581, allocations: 19.86 kB / 1.265 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002445/1.584, allocations: 284 kB / 1.265 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004299/1.584, allocations: 284.6 kB / 1.266 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04294/1.627, allocations: 9.096 MB / 1.274 GB, free: 9.812 MB / 0.8073 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.09115/1.718, allocations: 32.76 MB / 1.306 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02761/1.746, allocations: 6.332 MB / 1.313 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004506/1.75, allocations: 2.477 MB / 1.315 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01459/1.765, allocations: 3.114 MB / 1.318 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=424): time 9.518e-06/1.765, allocations: 0 / 1.318 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.04534/1.81, allocations: 7.973 MB / 1.326 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/1.811, allocations: 235.2 kB / 1.326 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/1.825, allocations: 5.597 MB / 1.331 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001305/1.826, allocations: 101.7 kB / 1.332 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005065/1.831, allocations: 3.338 MB / 1.335 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002912/1.834, allocations: 1.432 MB / 1.336 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006199/1.835, allocations: 88 kB / 1.336 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0004189/1.835, allocations: 488 kB / 1.337 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01295/1.848, allocations: 2.468 MB / 1.339 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01399/1.862, allocations: 3.499 MB / 1.343 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/1.876, allocations: 2.935 MB / 1.345 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.853e-05/1.876, allocations: 8 kB / 1.346 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.03241/1.908, allocations: 6.762 MB / 1.352 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.005078/1.913, allocations: 12.89 MB / 1.365 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.235e-05/1.914, allocations: 28 kB / 1.365 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/1.914, allocations: 52 kB / 1.365 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01347/1.927, allocations: 1.26 MB / 1.366 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001401/1.927, allocations: 63.8 kB / 1.366 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/1.94, allocations: 0.8224 MB / 1.367 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.941, allocations: 223.8 kB / 1.367 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.941, allocations: 7.938 kB / 1.367 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03118/1.972, allocations: 6.244 MB / 1.373 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-05/1.972, allocations: 24 kB / 1.373 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.008e-05/1.973, allocations: 52 kB / 1.373 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/1.986, allocations: 1.26 MB / 1.374 GB, free: 232 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001307/1.986, allocations: 67.75 kB / 1.375 GB, free: 164 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01184/1.998, allocations: 0.7737 MB / 1.375 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/1.999, allocations: 223.9 kB / 1.376 GB, free: 15.16 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * 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 (569): * Single equations (assignments): 569 * 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.007275/2.007, allocations: 2.173 MB / 1.378 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002418/2.009, allocations: 0.6059 MB / 1.378 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03408/2.043, allocations: 7.135 MB / 1.385 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.601e-05/2.043, allocations: 51.78 kB / 1.385 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/2.043, allocations: 0 / 1.385 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02735/2.071, allocations: 5.359 MB / 1.39 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05729/2.128, allocations: 14.78 MB / 1.405 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/2.128, allocations: 8 kB / 1.405 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01201/2.14, allocations: 1.018 MB / 1.406 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-05/2.14, allocations: 31.94 kB / 1.406 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001189/2.142, allocations: 147.9 kB / 1.406 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.508e-05/2.142, allocations: 23.98 kB / 1.406 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/2.142, allocations: 15.92 kB / 1.406 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05078/2.192, allocations: 10.95 MB / 1.417 GB, free: 4.191 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006134/2.199, allocations: 1.608 MB / 1.418 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002291/2.201, allocations: 91.98 kB / 1.418 GB, free: 2.465 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01168/2.213, allocations: 0.5116 MB / 1.419 GB, free: 1.957 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001357/2.214, allocations: 278.8 kB / 1.419 GB, free: 1.684 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001092/2.215, allocations: 203.8 kB / 1.419 GB, free: 1.484 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01154/2.227, allocations: 4.038 MB / 1.423 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.92e-07/2.227, allocations: 0 / 1.423 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01693/2.244, allocations: 3.547 MB / 1.427 GB, free: 9.895 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * 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 (448): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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.004436/2.248, allocations: 1.147 MB / 1.428 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 1.281/3.53, allocations: 9.313 MB / 1.437 GB, free: 345.5 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/3.53, allocations: 4.969 kB / 1.437 GB, free: 345.5 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01441/3.544, allocations: 2.996 MB / 1.44 GB, free: 345.4 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02651/3.571, allocations: 3.15 MB / 1.443 GB, free: 345.1 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04916/3.62, allocations: 17.56 MB / 1.46 GB, free: 336.1 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009964/3.63, allocations: 4.531 MB / 1.465 GB, free: 334.8 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.02404/3.654, allocations: 3.013 MB / 1.468 GB, free: 334 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004761/3.659, allocations: 0.6112 MB / 1.468 GB, free: 334 MB / 0.9637 GB Notification: Performance of SimCode: time 1.152e-06/3.659, allocations: 0.9375 kB / 1.468 GB, free: 334 MB / 0.9637 GB Notification: Performance of Templates: time 0.3475/4.006, allocations: 120.3 MB / 1.586 GB, free: 237.3 MB / 0.9637 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)