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.0009584/0.0009585, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006894/0.006894, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 5.344 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3699, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007172/0.3771, allocations: 5.504 MB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.557, allocations: 146.9 MB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.5581, allocations: 19.88 kB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000701/0.5588, allocations: 182.5 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.5607, allocations: 0.5392 MB / 1.224 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.5625, allocations: 0.7506 MB / 1.224 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.5642, allocations: 1.541 MB / 1.226 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.5654, allocations: 0.8152 MB / 1.227 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.566, allocations: 417.9 kB / 1.227 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.5666, allocations: 477.2 kB / 1.228 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/0.5667, allocations: 28 kB / 1.228 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.5674, allocations: 371.6 kB / 1.228 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.5677, allocations: 214.8 kB / 1.228 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.5682, allocations: 0.5879 MB / 1.229 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.5702, allocations: 1.845 MB / 1.231 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5702, allocations: 0 / 1.231 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5703, allocations: 0 / 1.231 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.5703, allocations: 0 / 1.231 GB, free: 6.691 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.002706/0.573, allocations: 1.44 MB / 1.232 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.573, allocations: 15.97 kB / 1.232 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009693/0.574, allocations: 242.9 kB / 1.232 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.5752, allocations: 0.8404 MB / 1.233 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/0.5753, allocations: 90.41 kB / 1.233 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.5754, allocations: 116 kB / 1.233 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.5776, allocations: 1.214 MB / 1.234 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.5776, allocations: 0 / 1.234 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.5777, allocations: 52 kB / 1.234 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.5777, allocations: 32 kB / 1.234 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.5799, allocations: 1.297 MB / 1.236 GB, free: 1.195 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.00539/0.5853, allocations: 3.626 MB / 1.239 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.5869, allocations: 0.8739 MB / 1.24 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005981/0.5875, allocations: 326.7 kB / 1.24 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.5876, allocations: 32.61 kB / 1.24 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009716/0.5886, allocations: 0.5159 MB / 1.241 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.956e-06/0.5886, allocations: 0 / 1.241 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003416/0.592, allocations: 1.305 MB / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5922, allocations: 192.9 kB / 1.242 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/0.5932, allocations: 0.7314 MB / 1.243 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/0.5933, allocations: 41.7 kB / 1.243 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.5937, allocations: 0.5192 MB / 1.244 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.5939, allocations: 280 kB / 1.244 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.5941, allocations: 73.78 kB / 1.244 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5942, allocations: 341.9 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.5948, allocations: 305.8 kB / 1.245 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.5955, allocations: 391.1 kB / 1.245 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.5967, allocations: 0.6672 MB / 1.246 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5968, allocations: 0 / 1.246 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002074/0.5988, allocations: 0.9307 MB / 1.247 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5989, allocations: 5.562 kB / 1.247 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5989, allocations: 11.92 kB / 1.247 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.5995, allocations: 80.88 kB / 1.247 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.6003, allocations: 175.7 kB / 1.247 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.6025, allocations: 1.543 MB / 1.248 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/0.6034, allocations: 115.3 kB / 1.248 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.6035, allocations: 40.03 kB / 1.249 GB, free: 3.645 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.0005881/0.6041, allocations: 296.5 kB / 1.249 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.6042, allocations: 94.78 kB / 1.249 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.6068, allocations: 1.13 MB / 1.25 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.6068, allocations: 16 kB / 1.25 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6068, allocations: 3.938 kB / 1.25 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.6069, allocations: 7.922 kB / 1.25 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.6082, allocations: 1.048 MB / 1.251 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6082, allocations: 0 / 1.251 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/0.6089, allocations: 155.8 kB / 1.251 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005543/0.6094, allocations: 92.7 kB / 1.251 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.6095, allocations: 23.98 kB / 1.251 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6322/1.242, allocations: 1.537 MB / 1.253 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.242, allocations: 4.062 kB / 1.253 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/1.244, allocations: 0.9946 MB / 1.254 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/1.245, allocations: 306.4 kB / 1.254 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.245, allocations: 20.66 kB / 1.254 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/1.246, allocations: 88.39 kB / 1.254 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/1.246, allocations: 77.86 kB / 1.254 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.565e-05/1.246, allocations: 37.19 kB / 1.254 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009613/1.247, allocations: 0.5162 MB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.247, allocations: 0 / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001359/1.249, allocations: 390.3 kB / 1.255 GB, free: 179.3 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.001563/1.25, allocations: 0.598 MB / 1.256 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002028/1.252, allocations: 0.8921 MB / 1.257 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.252, allocations: 1.609 kB / 1.257 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.253, allocations: 0.5458 MB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.255, allocations: 293.4 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/1.26, allocations: 2.562 MB / 1.26 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/1.261, allocations: 1.108 MB / 1.261 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001209/1.262, allocations: 297.1 kB / 1.261 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/1.262, allocations: 109.8 kB / 1.261 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.462e-06/1.262, allocations: 0 / 1.261 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03145/1.294, allocations: 15.61 MB / 1.277 GB, free: 174.2 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)