Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001204/0.001205, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.001222/0.001222, allocations: 187 kB / 17.34 MB, free: 5.762 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002164, allocations: 284.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9559/0.9559, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 100.2 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4976, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006783/0.5044, allocations: 4.727 MB / 0.7716 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1617/0.6662, allocations: 150.7 MB / 0.9188 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008933/0.6671, allocations: 15.94 kB / 0.9188 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.6679, allocations: 190.2 kB / 0.919 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.6699, allocations: 0.5278 MB / 0.9195 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.6721, allocations: 0.8531 MB / 0.9204 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.6739, allocations: 1.448 MB / 0.9218 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.6753, allocations: 0.9274 MB / 0.9227 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009158/0.6763, allocations: 0.5877 MB / 0.9233 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008591/0.6771, allocations: 0.6261 MB / 0.9239 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003194/0.6775, allocations: 156 kB / 0.924 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.6786, allocations: 0.5113 MB / 0.9245 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.6791, allocations: 378.8 kB / 0.9249 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008601/0.6799, allocations: 0.6955 MB / 0.9256 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.6825, allocations: 1.965 MB / 0.9275 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6825, allocations: 3.938 kB / 0.9275 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6825, allocations: 0 / 0.9275 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.491e-05/0.6826, allocations: 0 / 0.9275 GB, free: 14.93 MB / 0.7012 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.0035/0.6861, allocations: 1.686 MB / 0.9291 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6861, allocations: 11.97 kB / 0.9292 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.6872, allocations: 219 kB / 0.9294 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.6886, allocations: 0.8639 MB / 0.9302 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.6887, allocations: 86.41 kB / 0.9303 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.6889, allocations: 120 kB / 0.9304 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.691, allocations: 1.198 MB / 0.9316 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.691, allocations: 0 / 0.9316 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.6912, allocations: 48 kB / 0.9316 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.6912, allocations: 35.98 kB / 0.9317 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.6933, allocations: 1.281 MB / 0.9329 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005105/0.6984, allocations: 3.132 MB / 0.936 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.7, allocations: 0.8555 MB / 0.9368 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.7006, allocations: 326.6 kB / 0.9371 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.7007, allocations: 32.61 kB / 0.9371 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000889/0.7016, allocations: 0.5159 MB / 0.9376 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=87): time 3.256e-06/0.7016, allocations: 0 / 0.9376 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.003371/0.7049, allocations: 1.274 MB / 0.9389 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.7051, allocations: 208.7 kB / 0.9391 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.7062, allocations: 0.7352 MB / 0.9398 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/0.7063, allocations: 41.7 kB / 0.9398 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.7068, allocations: 0.5115 MB / 0.9403 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.707, allocations: 283.9 kB / 0.9406 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/0.7073, allocations: 174.4 kB / 0.9408 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7075, allocations: 337.9 kB / 0.9411 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005634/0.7081, allocations: 293.8 kB / 0.9414 GB, free: 332 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.7088, allocations: 383.1 kB / 0.9417 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.7099, allocations: 0.6594 MB / 0.9424 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.71, allocations: 0 / 0.9424 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002143/0.7121, allocations: 0.9267 MB / 0.9433 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.7121, allocations: 4 kB / 0.9433 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7122, allocations: 3.938 kB / 0.9433 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/0.7128, allocations: 84.86 kB / 0.9434 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.7135, allocations: 167.8 kB / 0.9435 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.7157, allocations: 1.626 MB / 0.9451 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008837/0.7166, allocations: 103.2 kB / 0.9452 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.7168, allocations: 40.03 kB / 0.9453 GB, free: 12.15 MB / 0.7169 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.0006467/0.7174, allocations: 305.9 kB / 0.9456 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.7177, allocations: 90.88 kB / 0.9456 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.7203, allocations: 1.122 MB / 0.9467 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.7204, allocations: 15.94 kB / 0.9468 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7204, allocations: 0 / 0.9468 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.7204, allocations: 7.969 kB / 0.9468 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.7218, allocations: 1.044 MB / 0.9478 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.7218, allocations: 4 kB / 0.9478 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.7225, allocations: 159.7 kB / 0.9479 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/0.723, allocations: 68.78 kB / 0.948 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/0.7231, allocations: 27.98 kB / 0.948 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.725, allocations: 1.662 MB / 0.9497 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7251, allocations: 3.938 kB / 0.9497 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.7272, allocations: 0.9863 MB / 0.9506 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.7278, allocations: 283.6 kB / 0.9509 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.7279, allocations: 24 kB / 0.9509 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/0.7286, allocations: 59.92 kB / 0.951 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.7288, allocations: 84.77 kB / 0.9511 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.7289, allocations: 31.98 kB / 0.9511 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007202/0.7296, allocations: 0.5224 MB / 0.9516 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7296, allocations: 0 / 0.9516 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009371/0.7305, allocations: 362.8 kB / 0.9519 GB, free: 5.062 MB / 0.7169 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.001331/0.7319, allocations: 0.6002 MB / 0.9525 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.7337, allocations: 0.8782 MB / 0.9534 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7337, allocations: 4 kB / 0.9534 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.7347, allocations: 0.547 MB / 0.9539 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.736, allocations: 297 kB / 0.9542 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.7405, allocations: 2.116 MB / 0.9563 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3637/1.104, allocations: 1.102 MB / 0.9574 GB, free: 187 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/1.105, allocations: 124.2 kB / 0.9575 GB, free: 187 MB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/1.105, allocations: 0 / 0.9575 GB, free: 187 MB / 0.7169 GB Notification: Performance of Templates: time 0.03138/1.136, allocations: 21.55 MB / 0.9785 GB, free: 174.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)