Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001915/0.001915, allocations: 189.9 kB / 16.13 MB, free: 6.656 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.584/1.584, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 65.56 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3639, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009208/0.3732, allocations: 7.012 MB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.5372, allocations: 148.8 MB / 1.22 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.5383, allocations: 19.94 kB / 1.22 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.5391, allocations: 198.4 kB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.5417, allocations: 0.6676 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.5441, allocations: 0.885 MB / 1.221 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.5465, allocations: 1.952 MB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.5481, allocations: 1.075 MB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.5493, allocations: 0.712 MB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009671/0.5503, allocations: 0.8206 MB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.5505, allocations: 112 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.5516, allocations: 467.6 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.552, allocations: 378.5 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008832/0.5528, allocations: 0.8705 MB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.5555, allocations: 2.527 MB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5555, allocations: 0 / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5555, allocations: 0 / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.746e-05/0.5556, allocations: 4 kB / 1.23 GB, free: 3.738 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.004047/0.5596, allocations: 2.041 MB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5597, allocations: 12.03 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.5608, allocations: 254.6 kB / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.5622, allocations: 0.9733 MB / 1.233 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.5624, allocations: 152.8 kB / 1.233 GB, free: 208 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.5625, allocations: 148 kB / 1.234 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.5653, allocations: 1.593 MB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.5654, allocations: 0 / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.5655, allocations: 64 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.5656, allocations: 40 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.5682, allocations: 1.596 MB / 1.237 GB, free: 12.7 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.00738/0.5756, allocations: 4.732 MB / 1.241 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.5777, allocations: 1.096 MB / 1.242 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.5785, allocations: 435.7 kB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.633e-05/0.5787, allocations: 41.08 kB / 1.243 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.58, allocations: 0.7036 MB / 1.244 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 3.116e-06/0.58, allocations: 0 / 1.244 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.004279/0.5843, allocations: 1.661 MB / 1.245 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.5844, allocations: 188.9 kB / 1.245 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.5862, allocations: 0.8415 MB / 1.246 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.5863, allocations: 57.69 kB / 1.246 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008079/0.5872, allocations: 0.6129 MB / 1.247 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/0.5877, allocations: 362.8 kB / 1.247 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005556/0.5883, allocations: 222.8 kB / 1.247 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.5885, allocations: 345.9 kB / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009689/0.5895, allocations: 402.4 kB / 1.248 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.5905, allocations: 0.5111 MB / 1.249 GB, free: 196 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6823/1.273, allocations: 0.8809 MB / 1.25 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.273, allocations: 2.406 kB / 1.25 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003417/1.276, allocations: 1.211 MB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/1.276, allocations: 6.016 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.276, allocations: 1.125 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006684/1.277, allocations: 89.81 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.278, allocations: 227.2 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/1.28, allocations: 1.544 MB / 1.253 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.282, allocations: 142.3 kB / 1.253 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/1.282, allocations: 52.3 kB / 1.253 GB, free: 180.9 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.0008903/1.283, allocations: 354.2 kB / 1.253 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/1.283, allocations: 115.9 kB / 1.253 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/1.287, allocations: 1.534 MB / 1.255 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/1.287, allocations: 12.44 kB / 1.255 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.287, allocations: 1.031 kB / 1.255 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.287, allocations: 9.016 kB / 1.255 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/1.289, allocations: 1.368 MB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.289, allocations: 1.062 kB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008945/1.29, allocations: 200.9 kB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005437/1.291, allocations: 90.03 kB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.799e-05/1.291, allocations: 31.86 kB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/1.292, allocations: 1.565 MB / 1.258 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.292, allocations: 7.562 kB / 1.258 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/1.295, allocations: 1.274 MB / 1.259 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/1.296, allocations: 361.8 kB / 1.259 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/1.296, allocations: 38.28 kB / 1.26 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000865/1.297, allocations: 91.14 kB / 1.26 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/1.297, allocations: 103.1 kB / 1.26 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.972e-05/1.297, allocations: 53.39 kB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008109/1.298, allocations: 0.6154 MB / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.298, allocations: 0 / 1.26 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001342/1.299, allocations: 475 kB / 1.261 GB, free: 178.4 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.001459/1.301, allocations: 0.6298 MB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002278/1.303, allocations: 1.152 MB / 1.263 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.303, allocations: 0 / 1.263 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.304, allocations: 0.6762 MB / 1.263 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.306, allocations: 321.4 kB / 1.263 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/1.311, allocations: 3.183 MB / 1.267 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.312, allocations: 1.219 MB / 1.268 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001897/1.314, allocations: 324.7 kB / 1.268 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006812/1.314, allocations: 139.7 kB / 1.268 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.273e-06/1.314, allocations: 1.406 kB / 1.268 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04998/1.364, allocations: 19.72 MB / 1.287 GB, free: 168.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)