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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.859/0.859, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001601/0.001601, allocations: 230.8 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6534/0.6534, allocations: 138.4 MB / 455.2 MB, free: 1.535 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.816e-05, allocations: 10.25 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007578/0.007596, allocations: 5.774 MB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2885/0.2961, allocations: 146.8 MB / 0.7041 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006307/0.2967, allocations: 27.75 kB / 0.7041 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.2972, allocations: 241.7 kB / 0.7043 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.2984, allocations: 0.6806 MB / 0.705 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.2995, allocations: 0.8914 MB / 0.7059 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008114/0.3003, allocations: 1.72 MB / 0.7076 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005232/0.3008, allocations: 0.5699 MB / 0.7081 GB, free: 44 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008084/0.3017, allocations: 0.9823 MB / 0.7091 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.3021, allocations: 482.5 kB / 0.7095 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3022, allocations: 144 kB / 0.7097 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.3028, allocations: 0.5169 MB / 0.7102 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.303, allocations: 370.7 kB / 0.7105 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.3035, allocations: 490.8 kB / 0.711 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.3047, allocations: 1.467 MB / 0.7124 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3047, allocations: 0 / 0.7124 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3047, allocations: 0 / 0.7124 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.3047, allocations: 0 / 0.7124 GB, free: 11.62 MB / 0.5261 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.001659/0.3064, allocations: 1.792 MB / 0.7142 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3064, allocations: 12.69 kB / 0.7142 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.3073, allocations: 399.3 kB / 0.7146 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.308, allocations: 0.7966 MB / 0.7153 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.3081, allocations: 90.91 kB / 0.7154 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.3082, allocations: 123.9 kB / 0.7156 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.3093, allocations: 1.138 MB / 0.7167 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3093, allocations: 3.938 kB / 0.7167 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.3093, allocations: 48 kB / 0.7167 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.3094, allocations: 28 kB / 0.7167 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3106, allocations: 0.8873 MB / 0.7176 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.3131, allocations: 2.705 MB / 0.7202 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.3138, allocations: 0.5022 MB / 0.7207 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.314, allocations: 178.2 kB / 0.7209 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.3141, allocations: 32.62 kB / 0.7209 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.3145, allocations: 0.494 MB / 0.7214 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=87): time 2.274e-06/0.3145, allocations: 0 / 0.7214 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=87): time 0.001471/0.316, allocations: 0.8484 MB / 0.7223 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.3161, allocations: 192.9 kB / 0.7224 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.3165, allocations: 0.6362 MB / 0.7231 GB, free: 356 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.3166, allocations: 41.7 kB / 0.7231 GB, free: 308 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.3169, allocations: 0.5778 MB / 0.7237 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.317, allocations: 297.5 kB / 0.7239 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.3172, allocations: 180.3 kB / 0.7241 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003742/0.3176, allocations: 0.5742 MB / 0.7247 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3178, allocations: 137.9 kB / 0.7248 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.3181, allocations: 381.8 kB / 0.7252 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.3186, allocations: 398.6 kB / 0.7256 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3186, allocations: 3.75 kB / 0.7256 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009294/0.3195, allocations: 0.6801 MB / 0.7262 GB, free: 13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3195, allocations: 6.031 kB / 0.7262 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3195, allocations: 4 kB / 0.7262 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/0.32, allocations: 119.7 kB / 0.7263 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.3203, allocations: 183.7 kB / 0.7265 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.3215, allocations: 1.898 MB / 0.7284 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.3218, allocations: 75.53 kB / 0.7284 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.3218, allocations: 35.98 kB / 0.7285 GB, free: 10.55 MB / 0.5417 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.0002006/0.322, allocations: 214.4 kB / 0.7287 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3222, allocations: 130.8 kB / 0.7288 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3233, allocations: 0.8408 MB / 0.7296 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3233, allocations: 15.98 kB / 0.7296 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3233, allocations: 0 / 0.7296 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3233, allocations: 7.047 kB / 0.7297 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.3238, allocations: 0.6841 MB / 0.7303 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3238, allocations: 0 / 0.7303 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.3242, allocations: 155.8 kB / 0.7305 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.3245, allocations: 115.6 kB / 0.7306 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.3245, allocations: 23.98 kB / 0.7306 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.3257, allocations: 1.917 MB / 0.7325 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3257, allocations: 7.969 kB / 0.7325 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009447/0.3267, allocations: 0.7624 MB / 0.7332 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.3269, allocations: 207 kB / 0.7334 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.758e-05/0.327, allocations: 20.62 kB / 0.7334 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3272, allocations: 39.97 kB / 0.7335 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3273, allocations: 76.86 kB / 0.7336 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.3273, allocations: 41.97 kB / 0.7336 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000297/0.3276, allocations: 419 kB / 0.734 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3276, allocations: 0 / 0.734 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005322/0.3282, allocations: 398.8 kB / 0.7344 GB, free: 4.312 MB / 0.5417 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.001095/0.3293, allocations: 0.6305 MB / 0.735 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007988/0.3301, allocations: 0.6754 MB / 0.7356 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3301, allocations: 0 / 0.7356 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.3305, allocations: 481 kB / 0.7361 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.3311, allocations: 341.7 kB / 0.7364 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.3333, allocations: 1.849 MB / 0.7382 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.3335, allocations: 219.2 kB / 0.7384 GB, free: 332 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004277/0.3339, allocations: 255.2 kB / 0.7387 GB, free: 72 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.3343, allocations: 108.5 kB / 0.7388 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.3343, allocations: 0 / 0.7388 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of Templates: time 0.01835/0.3527, allocations: 16.76 MB / 0.7552 GB, free: 15.5 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.989454897120595]