Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 109.2 kB / 17.04 MB, free: 6.082 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.001221/0.001221, allocations: 195 kB / 17.98 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6926/0.6926, allocations: 115.1 MB / 407 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3384, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007378/0.3459, allocations: 7.016 MB / 0.5644 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1528/0.4987, allocations: 151.2 MB / 0.712 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.4998, allocations: 19.88 kB / 0.7121 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006748/0.5006, allocations: 257.5 kB / 0.7123 GB, free: 5.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.5028, allocations: 0.7854 MB / 0.7131 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.5054, allocations: 1.006 MB / 0.714 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.5077, allocations: 2.093 MB / 0.7161 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.509, allocations: 1.118 MB / 0.7172 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.5102, allocations: 0.8176 MB / 0.718 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008573/0.511, allocations: 0.8808 MB / 0.7188 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.5113, allocations: 220 kB / 0.7191 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.5123, allocations: 0.5777 MB / 0.7196 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003809/0.5127, allocations: 490.5 kB / 0.7201 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007808/0.5135, allocations: 0.972 MB / 0.721 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.516, allocations: 2.663 MB / 0.7236 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.516, allocations: 0 / 0.7236 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.815e-06/0.516, allocations: 4 kB / 0.7236 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.516, allocations: 7.938 kB / 0.7236 GB, free: 9.879 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003416/0.5194, allocations: 2.037 MB / 0.7256 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5195, allocations: 12.03 kB / 0.7256 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009754/0.5205, allocations: 254.6 kB / 0.7259 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.522, allocations: 0.9929 MB / 0.7269 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.5221, allocations: 148.8 kB / 0.727 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.5223, allocations: 148 kB / 0.7271 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.5247, allocations: 1.6 MB / 0.7287 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.5248, allocations: 4 kB / 0.7287 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.5249, allocations: 60 kB / 0.7288 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.5249, allocations: 47.94 kB / 0.7288 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.5274, allocations: 1.592 MB / 0.7304 GB, free: 2.824 MB / 0.5606 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.006251/0.5337, allocations: 4.678 MB / 0.7349 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.5355, allocations: 1.097 MB / 0.736 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/0.5362, allocations: 436.9 kB / 0.7364 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.5363, allocations: 37.02 kB / 0.7365 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5374, allocations: 0.7029 MB / 0.7371 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 2.474e-06/0.5375, allocations: 7.938 kB / 0.7372 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.003812/0.5413, allocations: 1.653 MB / 0.7388 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.5414, allocations: 192.9 kB / 0.7389 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5424, allocations: 0.8414 MB / 0.7398 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.5425, allocations: 49.7 kB / 0.7398 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.5429, allocations: 0.6206 MB / 0.7404 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.5432, allocations: 354.8 kB / 0.7408 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.5435, allocations: 234.7 kB / 0.741 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5436, allocations: 341.9 kB / 0.7413 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.5444, allocations: 410.4 kB / 0.7417 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.5452, allocations: 0.5072 MB / 0.7422 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.5467, allocations: 0.8877 MB / 0.7431 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5468, allocations: 0 / 0.7431 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002415/0.5492, allocations: 1.211 MB / 0.7442 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5492, allocations: 4 kB / 0.7443 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5492, allocations: 0 / 0.7443 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.5498, allocations: 88.83 kB / 0.7443 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/0.5508, allocations: 227.7 kB / 0.7446 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.5529, allocations: 1.646 MB / 0.7462 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/0.5538, allocations: 139 kB / 0.7463 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.5539, allocations: 47.97 kB / 0.7463 GB, free: 1.945 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005161/0.5545, allocations: 348.2 kB / 0.7467 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.5547, allocations: 114.6 kB / 0.7468 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2544/0.8091, allocations: 1.526 MB / 0.7483 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/0.8091, allocations: 13.61 kB / 0.7483 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8092, allocations: 1.562 kB / 0.7483 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.697e-05/0.8092, allocations: 6.922 kB / 0.7483 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.8118, allocations: 1.373 MB / 0.7496 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.8118, allocations: 2.188 kB / 0.7496 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000946/0.8128, allocations: 200.1 kB / 0.7498 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/0.8133, allocations: 72.72 kB / 0.7499 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.8134, allocations: 34.98 kB / 0.7499 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.8151, allocations: 1.674 MB / 0.7516 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8151, allocations: 0.9062 kB / 0.7516 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.818, allocations: 1.279 MB / 0.7528 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006821/0.8187, allocations: 360.8 kB / 0.7532 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.819, allocations: 33.12 kB / 0.7532 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009506/0.8199, allocations: 80.56 kB / 0.7533 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.8202, allocations: 97.56 kB / 0.7534 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.8203, allocations: 52.23 kB / 0.7534 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001013/0.8213, allocations: 0.6203 MB / 0.754 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8213, allocations: 0.5312 kB / 0.754 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001407/0.8227, allocations: 478 kB / 0.7545 GB, free: 170.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.8242, allocations: 0.6227 MB / 0.7551 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.8265, allocations: 1.157 MB / 0.7562 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8266, allocations: 0 / 0.7562 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.8277, allocations: 0.6814 MB / 0.7569 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.8291, allocations: 356.3 kB / 0.7572 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.833, allocations: 2.462 MB / 0.7596 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/0.8338, allocations: 1.221 MB / 0.7608 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009866/0.8348, allocations: 316.8 kB / 0.7611 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.8352, allocations: 145.2 kB / 0.7613 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.8352, allocations: 1.281 kB / 0.7613 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.03478/0.87, allocations: 20.61 MB / 0.7814 GB, free: 160.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)