Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65.53 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3415, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006589/0.3481, allocations: 4.852 MB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.5064, allocations: 150.6 MB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008755/0.5074, allocations: 19.88 kB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.508, allocations: 186.2 kB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.5101, allocations: 0.5434 MB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.512, allocations: 0.8271 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.5136, allocations: 1.363 MB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.5145, allocations: 0.5869 MB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006505/0.5151, allocations: 482.4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.5156, allocations: 493.8 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.5158, allocations: 116 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.5166, allocations: 459.6 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.5169, allocations: 299 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.5173, allocations: 0.5558 MB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.5188, allocations: 1.585 MB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5188, allocations: 0 / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5188, allocations: 0 / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.5188, allocations: 4 kB / 1.227 GB, free: 6.887 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002269/0.5211, allocations: 1.414 MB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.5212, allocations: 16.02 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009008/0.5221, allocations: 183.4 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009361/0.523, allocations: 0.7383 MB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.5231, allocations: 58 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.5232, allocations: 84 kB / 1.23 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.5246, allocations: 0.9144 MB / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5246, allocations: 0 / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.5247, allocations: 36 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.5247, allocations: 20 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.5263, allocations: 1.104 MB / 1.232 GB, free: 2.191 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.003619/0.53, allocations: 2.697 MB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.5314, allocations: 0.7979 MB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.5319, allocations: 310.6 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.119e-05/0.532, allocations: 28.69 kB / 1.235 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008581/0.5328, allocations: 495.1 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 2.164e-06/0.5329, allocations: 0 / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.003095/0.536, allocations: 1.194 MB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.5361, allocations: 200.6 kB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.5368, allocations: 0.6176 MB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.5369, allocations: 49.69 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.5371, allocations: 388.3 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.5373, allocations: 268.2 kB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.5376, allocations: 162.5 kB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5377, allocations: 386.7 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.5382, allocations: 281.8 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.5388, allocations: 359.2 kB / 1.24 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.5399, allocations: 0.6111 MB / 1.24 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.5399, allocations: 4 kB / 1.24 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001866/0.5417, allocations: 0.8488 MB / 1.241 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5418, allocations: 4 kB / 1.241 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5418, allocations: 4 kB / 1.241 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.5424, allocations: 80.78 kB / 1.241 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.543, allocations: 167.7 kB / 1.241 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.545, allocations: 1.621 MB / 1.243 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.5457, allocations: 95.41 kB / 1.243 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.5458, allocations: 39.97 kB / 1.243 GB, free: 6.113 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 (95): * Single equations (assignments): 94 * 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.00039/0.5462, allocations: 271.3 kB / 1.243 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.5463, allocations: 82.97 kB / 1.243 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.5486, allocations: 1.058 MB / 1.244 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.5486, allocations: 8 kB / 1.244 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.5486, allocations: 11.88 kB / 1.244 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.5486, allocations: 7.984 kB / 1.244 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009256/0.5496, allocations: 0.8918 MB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5496, allocations: 0 / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.5501, allocations: 143.8 kB / 1.245 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004357/0.5506, allocations: 72.78 kB / 1.246 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.5506, allocations: 23.98 kB / 1.246 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.5524, allocations: 1.658 MB / 1.247 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5524, allocations: 0 / 1.247 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.5543, allocations: 0.9241 MB / 1.248 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.5546, allocations: 275.7 kB / 1.248 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.5547, allocations: 16 kB / 1.248 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.5554, allocations: 69.48 kB / 1.248 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.5555, allocations: 64.91 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.785e-05/0.5556, allocations: 43.91 kB / 1.249 GB, free: 248 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.521/1.077, allocations: 449.5 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.31e-07/1.077, allocations: 0 / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001307/1.078, allocations: 325.3 kB / 1.249 GB, free: 183.5 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 (91): * Single equations (assignments): 85 * 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.00137/1.079, allocations: 0.5988 MB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002569/1.082, allocations: 1.032 MB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.082, allocations: 0 / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009773/1.083, allocations: 0.5172 MB / 1.251 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/1.084, allocations: 309.3 kB / 1.252 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/1.087, allocations: 1.646 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/1.088, allocations: 1.024 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009071/1.089, allocations: 255.3 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/1.089, allocations: 110.9 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.089, allocations: 0 / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02955/1.119, allocations: 15.03 MB / 1.269 GB, free: 179.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)