Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001754/0.001761, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00196/0.00196, allocations: 191.7 kB / 16.25 MB, free: 6.617 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.8 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3224, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008417/0.3309, allocations: 7.01 MB / 1.075 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2525/0.5834, allocations: 148.9 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.5853, allocations: 19.88 kB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.5868, allocations: 202.4 kB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.5916, allocations: 0.6828 MB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004759/0.5963, allocations: 0.9213 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004156/0.6005, allocations: 2.081 MB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.6033, allocations: 1.114 MB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.6053, allocations: 0.8176 MB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.6073, allocations: 0.887 MB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006444/0.6079, allocations: 216 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.6096, allocations: 0.5426 MB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000786/0.6104, allocations: 498.5 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.6123, allocations: 0.9682 MB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005038/0.6174, allocations: 2.617 MB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6174, allocations: 0 / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6174, allocations: 0 / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.954e-05/0.6175, allocations: 0 / 1.231 GB, free: 2.656 MB / 0.9825 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.007695/0.6252, allocations: 2.048 MB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/0.6253, allocations: 12.03 kB / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.6272, allocations: 254.6 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.629, allocations: 0.9695 MB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.6292, allocations: 148.8 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.6294, allocations: 156 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/0.6327, allocations: 1.589 MB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.6327, allocations: 4 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.6329, allocations: 64 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.633, allocations: 40 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.6359, allocations: 1.596 MB / 1.238 GB, free: 11.61 MB / 0.9981 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.008054/0.644, allocations: 4.716 MB / 1.243 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.6461, allocations: 1.1 MB / 1.244 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000779/0.6469, allocations: 435.7 kB / 1.244 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.6471, allocations: 45.08 kB / 1.244 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.6484, allocations: 0.6997 MB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 3.818e-06/0.6484, allocations: 4 kB / 1.245 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.004262/0.6527, allocations: 1.653 MB / 1.246 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.6528, allocations: 200.9 kB / 1.247 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.6543, allocations: 0.8415 MB / 1.247 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.6545, allocations: 49.69 kB / 1.247 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006355/0.6551, allocations: 0.6207 MB / 1.248 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.6555, allocations: 354.8 kB / 1.248 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.6559, allocations: 222.8 kB / 1.249 GB, free: 384 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6561, allocations: 345.9 kB / 1.249 GB, free: 32 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7032/1.359, allocations: 400.4 kB / 1.249 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.36, allocations: 0.5083 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.362, allocations: 0.888 MB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.362, allocations: 1.062 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002975/1.365, allocations: 1.211 MB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.365, allocations: 5.625 kB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.365, allocations: 0.75 kB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006712/1.366, allocations: 88 kB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.367, allocations: 230.6 kB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/1.369, allocations: 1.66 MB / 1.254 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.37, allocations: 144.4 kB / 1.254 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/1.37, allocations: 52.95 kB / 1.254 GB, free: 181 MB / 0.9981 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.0006652/1.371, allocations: 352.5 kB / 1.254 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/1.371, allocations: 115.6 kB / 1.254 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/1.375, allocations: 1.53 MB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.375, allocations: 12.56 kB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.375, allocations: 7.469 kB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/1.375, allocations: 11.66 kB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/1.376, allocations: 1.37 MB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.376, allocations: 0 / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/1.377, allocations: 196.9 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/1.378, allocations: 74.42 kB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/1.378, allocations: 33.91 kB / 1.258 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/1.38, allocations: 1.689 MB / 1.259 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.38, allocations: 0 / 1.259 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/1.382, allocations: 1.28 MB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/1.383, allocations: 359.3 kB / 1.261 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.383, allocations: 34.34 kB / 1.261 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/1.384, allocations: 91.95 kB / 1.261 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/1.384, allocations: 97.11 kB / 1.261 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.176e-05/1.384, allocations: 52.44 kB / 1.261 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008669/1.385, allocations: 0.6178 MB / 1.262 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.385, allocations: 0 / 1.262 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001382/1.386, allocations: 480.4 kB / 1.262 GB, free: 177.9 MB / 0.9981 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.001477/1.388, allocations: 0.6169 MB / 1.263 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003754/1.392, allocations: 1.435 MB / 1.264 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.392, allocations: 0 / 1.264 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/1.393, allocations: 0.6853 MB / 1.265 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.394, allocations: 349.9 kB / 1.265 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/1.399, allocations: 3.181 MB / 1.268 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/1.4, allocations: 1.223 MB / 1.269 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001331/1.402, allocations: 321.3 kB / 1.27 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/1.402, allocations: 145.3 kB / 1.27 GB, free: 174 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.402, allocations: 0 / 1.27 GB, free: 174 MB / 0.9981 GB Notification: Performance of Templates: time 0.04534/1.447, allocations: 20.48 MB / 1.29 GB, free: 167.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)