Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001214/0.001214, allocations: 108 kB / 15.61 MB, free: 152 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.001263/0.001263, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 62 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3773, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007899/0.3853, allocations: 5.952 MB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1917/0.577, allocations: 150.8 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.5786, allocations: 19.88 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007624/0.5794, allocations: 229.7 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.5817, allocations: 0.6436 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.5841, allocations: 0.8626 MB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.5861, allocations: 1.642 MB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.5873, allocations: 0.8656 MB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000951/0.5883, allocations: 0.6034 MB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.5891, allocations: 0.6573 MB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.5893, allocations: 152 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.5904, allocations: 0.4957 MB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.5907, allocations: 370.8 kB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006858/0.5914, allocations: 0.7385 MB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.5937, allocations: 1.978 MB / 1.23 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5937, allocations: 4 kB / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5937, allocations: 0 / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.854e-05/0.5938, allocations: 0 / 1.23 GB, free: 3.727 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.002886/0.5966, allocations: 1.717 MB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5967, allocations: 8.031 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009519/0.5977, allocations: 227 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.5988, allocations: 0.8482 MB / 1.233 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/0.5989, allocations: 94.39 kB / 1.233 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.599, allocations: 112 kB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.6009, allocations: 1.202 MB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6009, allocations: 0 / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.601, allocations: 52 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.601, allocations: 32 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.603, allocations: 1.285 MB / 1.236 GB, free: 13.99 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.005098/0.6081, allocations: 3.585 MB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.6097, allocations: 0.8676 MB / 1.24 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.6103, allocations: 322.7 kB / 1.24 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.6104, allocations: 40.53 kB / 1.24 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008746/0.6113, allocations: 0.5081 MB / 1.241 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.685e-06/0.6113, allocations: 4 kB / 1.241 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003375/0.6147, allocations: 1.286 MB / 1.242 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.6148, allocations: 188.9 kB / 1.242 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009737/0.6158, allocations: 0.7352 MB / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.337e-05/0.6159, allocations: 41.7 kB / 1.243 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.6163, allocations: 0.5115 MB / 1.244 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.6166, allocations: 291.8 kB / 1.244 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.6168, allocations: 174.5 kB / 1.244 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.617, allocations: 337.9 kB / 1.244 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.6175, allocations: 297.8 kB / 1.245 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/0.6182, allocations: 387.1 kB / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.6194, allocations: 0.6594 MB / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.6194, allocations: 0 / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002105/0.6215, allocations: 0.9228 MB / 1.247 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.6216, allocations: 11.98 kB / 1.247 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6216, allocations: 3.938 kB / 1.247 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.6222, allocations: 80.88 kB / 1.247 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.6229, allocations: 175.7 kB / 1.247 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.6253, allocations: 1.642 MB / 1.248 GB, free: 484 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009237/0.6262, allocations: 99.22 kB / 1.249 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.6263, allocations: 35.97 kB / 1.249 GB, free: 348 kB / 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.0005736/0.6269, allocations: 295.8 kB / 1.249 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.6703/1.297, allocations: 92.45 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/1.301, allocations: 1.12 MB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/1.301, allocations: 13.59 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.301, allocations: 1.812 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/1.301, allocations: 13.08 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/1.302, allocations: 1.047 MB / 1.251 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.302, allocations: 1 kB / 1.251 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/1.303, allocations: 156.6 kB / 1.251 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/1.304, allocations: 74.36 kB / 1.251 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/1.304, allocations: 32.27 kB / 1.251 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/1.305, allocations: 1.657 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/1.306, allocations: 3.578 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/1.308, allocations: 0.9834 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/1.308, allocations: 290.7 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.309, allocations: 19.44 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/1.309, allocations: 66.77 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/1.309, allocations: 78.11 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/1.309, allocations: 37.47 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007998/1.31, allocations: 0.517 MB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.31, allocations: 3.656 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001072/1.311, allocations: 386.4 kB / 1.255 GB, free: 181.6 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.001418/1.313, allocations: 0.5974 MB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002676/1.316, allocations: 1.104 MB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.316, allocations: 0 / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/1.316, allocations: 0.5481 MB / 1.257 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.318, allocations: 330.1 kB / 1.258 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/1.321, allocations: 1.996 MB / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/1.321, allocations: 1.108 MB / 1.261 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000878/1.322, allocations: 299.5 kB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/1.322, allocations: 110.7 kB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.322, allocations: 0 / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03739/1.36, allocations: 16.4 MB / 1.277 GB, free: 176.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)