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.002037/0.002037, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00223/0.00223, allocations: 192 kB / 16.25 MB, free: 6.621 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 73.41 kB / 0.9115 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3234, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007952/0.3314, allocations: 5.944 MB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.4974, allocations: 148.6 MB / 1.219 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.4985, allocations: 19.94 kB / 1.219 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000867/0.4994, allocations: 186.5 kB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.5019, allocations: 0.5438 MB / 1.219 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.5043, allocations: 0.7925 MB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002207/0.5065, allocations: 1.65 MB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.5079, allocations: 0.8618 MB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009088/0.5088, allocations: 0.615 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.5098, allocations: 0.6612 MB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.51, allocations: 152 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009369/0.511, allocations: 495.6 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.5113, allocations: 374.8 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.512, allocations: 0.7424 MB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.5142, allocations: 1.982 MB / 1.227 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5142, allocations: 0 / 1.227 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5142, allocations: 4 kB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.422e-05/0.5142, allocations: 0 / 1.227 GB, free: 6.516 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.003057/0.5173, allocations: 1.709 MB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.5173, allocations: 12.03 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009889/0.5183, allocations: 223 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5195, allocations: 0.8443 MB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.5196, allocations: 90.41 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.5198, allocations: 112 kB / 1.23 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.5221, allocations: 1.206 MB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.5221, allocations: 3.938 kB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5223, allocations: 52 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.5223, allocations: 28 kB / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.5244, allocations: 1.285 MB / 1.233 GB, free: 0.793 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.005708/0.5301, allocations: 3.585 MB / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.5319, allocations: 0.8612 MB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006436/0.5326, allocations: 334.6 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.5327, allocations: 32.59 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.5337, allocations: 0.5197 MB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 3.286e-06/0.5337, allocations: 0 / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003597/0.5373, allocations: 1.278 MB / 1.239 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.5375, allocations: 192.9 kB / 1.239 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5385, allocations: 0.7352 MB / 1.24 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.5386, allocations: 49.69 kB / 1.24 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.539, allocations: 0.5154 MB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.5393, allocations: 283.9 kB / 1.241 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.5395, allocations: 174.5 kB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5397, allocations: 341.9 kB / 1.242 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.5403, allocations: 285.8 kB / 1.242 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.541, allocations: 399 kB / 1.242 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.5422, allocations: 0.6555 MB / 1.243 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5422, allocations: 4.062 kB / 1.243 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002205/0.5444, allocations: 0.9267 MB / 1.244 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5445, allocations: 4 kB / 1.244 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5445, allocations: 3.938 kB / 1.244 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.5451, allocations: 80.88 kB / 1.244 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.5459, allocations: 175.7 kB / 1.244 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.5482, allocations: 1.638 MB / 1.246 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008846/0.5491, allocations: 108.8 kB / 1.246 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.5492, allocations: 39.98 kB / 1.246 GB, free: 3.125 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.0005286/0.5498, allocations: 299.5 kB / 1.246 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.55, allocations: 90.88 kB / 1.246 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.5526, allocations: 1.126 MB / 1.247 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.5526, allocations: 15.94 kB / 1.247 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5526, allocations: 7.984 kB / 1.247 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.5526, allocations: 3.984 kB / 1.247 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.5539, allocations: 1.056 MB / 1.248 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5539, allocations: 0 / 1.248 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/0.5546, allocations: 151.8 kB / 1.248 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/0.5551, allocations: 72.78 kB / 1.248 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.5552, allocations: 27.98 kB / 1.248 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6047/1.16, allocations: 1.646 MB / 1.25 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.16, allocations: 0.5156 kB / 1.25 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/1.163, allocations: 0.9885 MB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/1.163, allocations: 293.1 kB / 1.251 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.163, allocations: 20.42 kB / 1.251 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/1.164, allocations: 74.44 kB / 1.251 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/1.164, allocations: 73.75 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/1.164, allocations: 36.42 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007516/1.165, allocations: 0.5156 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.165, allocations: 1.656 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001197/1.166, allocations: 381.8 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.001485/1.168, allocations: 0.6159 MB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002784/1.17, allocations: 1.096 MB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.17, allocations: 3.562 kB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009819/1.171, allocations: 0.5432 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.001428/1.173, allocations: 325.9 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.003421/1.176, allocations: 2.549 MB / 1.257 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/1.177, allocations: 1.107 MB / 1.258 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009071/1.178, allocations: 292.1 kB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/1.178, allocations: 112.5 kB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.178, allocations: 0 / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03048/1.208, allocations: 16.29 MB / 1.275 GB, free: 176.4 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)