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.001213/0.001212, 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.001301/0.001301, allocations: 191.9 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 58.98 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3197, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00784/0.3276, allocations: 5.957 MB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1591/0.4867, allocations: 150.8 MB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.4879, allocations: 23.88 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.4888, allocations: 229.7 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.4912, allocations: 0.6324 MB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.4935, allocations: 0.8638 MB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002044/0.4955, allocations: 1.634 MB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.4968, allocations: 0.8735 MB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008664/0.4977, allocations: 0.6073 MB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008606/0.4986, allocations: 0.6573 MB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.4988, allocations: 160 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.4999, allocations: 499.7 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.5002, allocations: 378.7 kB / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000689/0.5009, allocations: 0.7307 MB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.5033, allocations: 1.978 MB / 1.23 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.5033, allocations: 0 / 1.23 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5033, allocations: 0 / 1.23 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.254e-05/0.5033, allocations: 4 kB / 1.23 GB, free: 3.742 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.002959/0.5063, allocations: 1.717 MB / 1.232 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5063, allocations: 12.03 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009703/0.5073, allocations: 215 kB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5085, allocations: 0.8521 MB / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.5085, allocations: 90.41 kB / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5087, allocations: 116 kB / 1.233 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.5107, allocations: 1.206 MB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.5107, allocations: 3.984 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.5108, allocations: 48 kB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.5108, allocations: 28 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.5128, allocations: 1.285 MB / 1.236 GB, free: 14.01 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.004967/0.5178, allocations: 3.588 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.5194, allocations: 0.8676 MB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/0.52, allocations: 330.7 kB / 1.24 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.216e-05/0.5201, allocations: 32.61 kB / 1.24 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008894/0.521, allocations: 0.5159 MB / 1.241 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.404e-06/0.521, allocations: 0 / 1.241 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003388/0.5244, allocations: 1.286 MB / 1.242 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/0.5245, allocations: 188.9 kB / 1.242 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/0.5255, allocations: 0.7352 MB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.5255, allocations: 45.64 kB / 1.243 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.526, allocations: 0.5154 MB / 1.244 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.5262, allocations: 283.8 kB / 1.244 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.5265, allocations: 178.5 kB / 1.244 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5266, allocations: 334 kB / 1.244 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.5272, allocations: 289.8 kB / 1.245 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/0.5279, allocations: 403 kB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.5291, allocations: 0.6516 MB / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5291, allocations: 0 / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002019/0.5311, allocations: 0.9268 MB / 1.247 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5311, allocations: 4 kB / 1.247 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5311, allocations: 3.938 kB / 1.247 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.5318, allocations: 84.8 kB / 1.247 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.5325, allocations: 175.7 kB / 1.247 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.5347, allocations: 1.628 MB / 1.248 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.5354, allocations: 103.2 kB / 1.249 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.5355, allocations: 40.03 kB / 1.249 GB, free: 372 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.0005076/0.5361, allocations: 295.8 kB / 1.249 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5297/1.066, allocations: 92.88 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/1.069, allocations: 1.122 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/1.069, allocations: 14.14 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.069, allocations: 4.672 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.069, allocations: 4.594 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/1.07, allocations: 1.051 MB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.07, allocations: 3.469 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/1.071, allocations: 155.2 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/1.072, allocations: 74.33 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/1.072, allocations: 29.44 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/1.073, allocations: 1.655 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.073, allocations: 0.9688 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/1.076, allocations: 0.9866 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/1.076, allocations: 293.2 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.076, allocations: 19.31 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/1.077, allocations: 64.89 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/1.077, allocations: 76.02 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/1.077, allocations: 43.39 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006935/1.078, allocations: 0.5164 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.078, allocations: 0 / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001115/1.079, allocations: 387.3 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.001592/1.081, allocations: 0.6165 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002668/1.083, allocations: 1.1 MB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.083, allocations: 0 / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008704/1.084, allocations: 0.5486 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.001322/1.086, allocations: 320.6 kB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/1.089, allocations: 2.004 MB / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/1.09, allocations: 1.11 MB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001018/1.091, allocations: 295.2 kB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/1.091, allocations: 110.4 kB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.091, allocations: 0 / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03292/1.124, allocations: 16.4 MB / 1.277 GB, free: 176.1 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)