Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001647/0.001646, allocations: 196.3 kB / 16.25 MB, free: 6.629 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 60.17 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.375, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007923/0.3829, allocations: 5.952 MB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.5524, allocations: 148.6 MB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.5538, allocations: 19.88 kB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009805/0.5549, allocations: 190.5 kB / 1.219 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.5573, allocations: 0.5475 MB / 1.219 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.5599, allocations: 0.7785 MB / 1.22 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.5623, allocations: 1.646 MB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.5639, allocations: 0.8696 MB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.565, allocations: 0.6112 MB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5661, allocations: 0.6573 MB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004027/0.5666, allocations: 156 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.5678, allocations: 499.6 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.5683, allocations: 374.8 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.5695, allocations: 0.7346 MB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.5725, allocations: 1.982 MB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.5725, allocations: 0 / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5726, allocations: 7.875 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.298e-05/0.5726, allocations: 0 / 1.227 GB, free: 6.59 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004161/0.5768, allocations: 1.713 MB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5769, allocations: 8.031 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.5781, allocations: 230.9 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.58, allocations: 0.8404 MB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.5801, allocations: 94.41 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.5803, allocations: 112 kB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.583, allocations: 1.202 MB / 1.232 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.583, allocations: 3.984 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.5831, allocations: 52 kB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.5832, allocations: 32 kB / 1.232 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.5854, allocations: 1.277 MB / 1.233 GB, free: 0.8672 MB / 0.9825 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.006368/0.5918, allocations: 3.589 MB / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.5935, allocations: 0.8639 MB / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.5942, allocations: 334.6 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.913e-05/0.5943, allocations: 32.61 kB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.5954, allocations: 0.5197 MB / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 3.056e-06/0.5954, allocations: 0 / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003602/0.599, allocations: 1.278 MB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.5991, allocations: 196.8 kB / 1.239 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6004, allocations: 0.7352 MB / 1.24 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.6005, allocations: 41.7 kB / 1.24 GB, free: 9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.601, allocations: 0.5115 MB / 1.241 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.6013, allocations: 287.8 kB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.6016, allocations: 178.5 kB / 1.241 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6017, allocations: 338 kB / 1.242 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/0.6024, allocations: 289.8 kB / 1.242 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/0.6031, allocations: 391.1 kB / 1.242 GB, free: 7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.6043, allocations: 0.6555 MB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.6043, allocations: 0 / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00228/0.6066, allocations: 0.9267 MB / 1.244 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.6067, allocations: 8 kB / 1.244 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6067, allocations: 3.938 kB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/0.6074, allocations: 84.86 kB / 1.244 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.6081, allocations: 175.8 kB / 1.244 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.6106, allocations: 1.648 MB / 1.246 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.6116, allocations: 103.2 kB / 1.246 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.6117, allocations: 39.97 kB / 1.246 GB, free: 3.191 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0006523/0.6124, allocations: 295.4 kB / 1.246 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.6127, allocations: 98.81 kB / 1.246 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.6157, allocations: 1.126 MB / 1.247 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.6157, allocations: 11.94 kB / 1.247 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6157, allocations: 0 / 1.247 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.6158, allocations: 3.984 kB / 1.247 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.6181, allocations: 1.056 MB / 1.248 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.6181, allocations: 3.938 kB / 1.248 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.6192, allocations: 147.8 kB / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/0.6198, allocations: 80.78 kB / 1.248 GB, free: 312 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.251e-05/0.6199, allocations: 23.98 kB / 1.248 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5411/1.161, allocations: 1.649 MB / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.161, allocations: 0 / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/1.164, allocations: 0.9886 MB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004783/1.164, allocations: 292.1 kB / 1.251 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.164, allocations: 19.75 kB / 1.251 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/1.165, allocations: 74.72 kB / 1.251 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/1.165, allocations: 76.52 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.423e-05/1.165, allocations: 37.31 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007492/1.166, allocations: 0.5143 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.166, allocations: 0 / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009757/1.167, allocations: 387.9 kB / 1.252 GB, free: 181.8 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001389/1.168, allocations: 0.5993 MB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.171, allocations: 1.102 MB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.171, allocations: 0 / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001/1.172, allocations: 0.5517 MB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.174, allocations: 327.2 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/1.177, allocations: 2.537 MB / 1.257 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/1.178, allocations: 1.114 MB / 1.258 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009299/1.179, allocations: 287.3 kB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/1.179, allocations: 116.3 kB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.179, allocations: 0 / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03069/1.21, allocations: 16.3 MB / 1.275 GB, free: 176.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)