Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001013/0.001012, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001035/0.001035, allocations: 195.4 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 286.8 kB / 290.4 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9985/0.9985, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 90.62 kB / 0.5947 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1602, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00581/0.1661, allocations: 4.349 MB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4288/0.5949, allocations: 148.3 MB / 0.8287 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007911/0.5958, allocations: 14.25 kB / 0.8287 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.5964, allocations: 139.6 kB / 0.8289 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.598, allocations: 450.3 kB / 0.8293 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.5998, allocations: 0.7372 MB / 0.83 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.6012, allocations: 1.293 MB / 0.8313 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009354/0.6021, allocations: 0.6239 MB / 0.8319 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000732/0.6028, allocations: 472.1 kB / 0.8323 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00076/0.6036, allocations: 493.2 kB / 0.8328 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.604, allocations: 114.6 kB / 0.8329 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.6051, allocations: 459.3 kB / 0.8333 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.6054, allocations: 294.8 kB / 0.8336 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006755/0.6061, allocations: 0.5344 MB / 0.8341 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.608, allocations: 1.558 MB / 0.8357 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.608, allocations: 1.062 kB / 0.8357 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.608, allocations: 0 / 0.8357 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.608, allocations: 0 / 0.8357 GB, free: 15.6 MB / 0.5762 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.002767/0.6108, allocations: 1.408 MB / 0.837 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.6109, allocations: 11 kB / 0.8371 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009562/0.6118, allocations: 184 kB / 0.8372 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.6129, allocations: 0.7376 MB / 0.8379 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.6129, allocations: 64.5 kB / 0.838 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.613, allocations: 83.67 kB / 0.8381 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.6146, allocations: 0.9153 MB / 0.839 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.6147, allocations: 0 / 0.839 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.6148, allocations: 33.5 kB / 0.839 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.6148, allocations: 19.62 kB / 0.839 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.6166, allocations: 1.106 MB / 0.8401 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/0.6206, allocations: 2.497 MB / 0.8426 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.6221, allocations: 0.7896 MB / 0.8433 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.6226, allocations: 309.1 kB / 0.8436 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.435e-05/0.6227, allocations: 34.36 kB / 0.8437 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009133/0.6236, allocations: 490.5 kB / 0.8441 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.464e-06/0.6236, allocations: 4 kB / 0.8441 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003158/0.6268, allocations: 1.185 MB / 0.8453 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6269, allocations: 192.8 kB / 0.8455 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007919/0.6277, allocations: 0.6277 MB / 0.8461 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/0.6278, allocations: 43.23 kB / 0.8461 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.6281, allocations: 397 kB / 0.8465 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.6284, allocations: 260.1 kB / 0.8467 GB, free: 10 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.6286, allocations: 164.8 kB / 0.8469 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.6288, allocations: 388.8 kB / 0.8473 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.6293, allocations: 268.4 kB / 0.8475 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.6299, allocations: 364.4 kB / 0.8479 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.631, allocations: 0.6017 MB / 0.8485 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.631, allocations: 6.203 kB / 0.8485 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001921/0.633, allocations: 0.8399 MB / 0.8493 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.633, allocations: 5.344 kB / 0.8493 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.633, allocations: 2.656 kB / 0.8493 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.6336, allocations: 80.78 kB / 0.8494 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.6343, allocations: 168.2 kB / 0.8495 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.6364, allocations: 1.624 MB / 0.8511 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/0.6372, allocations: 94.06 kB / 0.8512 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.6373, allocations: 35.45 kB / 0.8512 GB, free: 6.68 MB / 0.5762 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.0004745/0.6378, allocations: 279.3 kB / 0.8515 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.638, allocations: 82.69 kB / 0.8516 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.6404, allocations: 1.06 MB / 0.8526 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.6404, allocations: 10.34 kB / 0.8526 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6404, allocations: 0 / 0.8526 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.6405, allocations: 11.92 kB / 0.8526 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.6416, allocations: 0.8924 MB / 0.8535 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.6416, allocations: 0 / 0.8535 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.6422, allocations: 144.7 kB / 0.8537 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.6426, allocations: 74.66 kB / 0.8537 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.6427, allocations: 23.8 kB / 0.8537 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.6446, allocations: 1.668 MB / 0.8554 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6446, allocations: 0 / 0.8554 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.6466, allocations: 0.9262 MB / 0.8563 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.647, allocations: 264 kB / 0.8565 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.6472, allocations: 20.81 kB / 0.8566 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.6478, allocations: 67.95 kB / 0.8566 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.648, allocations: 71.38 kB / 0.8567 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.6481, allocations: 34.78 kB / 0.8567 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006209/0.6487, allocations: 450.8 kB / 0.8571 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6487, allocations: 0 / 0.8571 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009395/0.6497, allocations: 312.3 kB / 0.8574 GB, free: 2.273 MB / 0.5762 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.001506/0.6512, allocations: 0.6119 MB / 0.858 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.6535, allocations: 1.033 MB / 0.8591 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6535, allocations: 4.188 kB / 0.8591 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.6544, allocations: 0.5027 MB / 0.8595 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6557, allocations: 301.9 kB / 0.8598 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.6598, allocations: 2.155 MB / 0.8619 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.6605, allocations: 1.021 MB / 0.8629 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001109/0.6616, allocations: 257.6 kB / 0.8632 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/0.662, allocations: 105.8 kB / 0.8633 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.662, allocations: 0 / 0.8633 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.02671/0.6887, allocations: 14.54 MB / 0.8775 GB, free: 4.379 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)