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.00149/0.001491, allocations: 112.8 kB / 16.42 MB, free: 6.488 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.001706/0.001707, allocations: 186.5 kB / 17.35 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.513/1.513, 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.002067/0.002067, allocations: 293.3 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.9811/0.9811, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 92.23 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4173, allocations: 86.98 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006123/0.4235, allocations: 4.346 MB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1591/0.5826, allocations: 150.5 MB / 0.9183 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000677/0.5833, allocations: 15.94 kB / 0.9183 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.584, allocations: 174.4 kB / 0.9185 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.5858, allocations: 0.5174 MB / 0.919 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.5878, allocations: 0.8188 MB / 0.9198 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.5892, allocations: 1.297 MB / 0.9211 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.5902, allocations: 0.6255 MB / 0.9217 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000686/0.5909, allocations: 474.3 kB / 0.9221 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.5915, allocations: 485.8 kB / 0.9226 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.5918, allocations: 116 kB / 0.9227 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009356/0.5927, allocations: 491.6 kB / 0.9232 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.593, allocations: 291.1 kB / 0.9234 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005974/0.5936, allocations: 0.5402 MB / 0.924 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.5956, allocations: 1.587 MB / 0.9255 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5956, allocations: 4 kB / 0.9255 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5956, allocations: 7.875 kB / 0.9255 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.146e-05/0.5956, allocations: 0 / 0.9255 GB, free: 1.023 MB / 0.6856 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.002764/0.5984, allocations: 1.407 MB / 0.9269 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5984, allocations: 8.031 kB / 0.9269 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009513/0.5994, allocations: 191.4 kB / 0.9271 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.6006, allocations: 0.7501 MB / 0.9278 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.6006, allocations: 62 kB / 0.9279 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.6007, allocations: 80 kB / 0.928 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.6023, allocations: 0.9144 MB / 0.9288 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.6024, allocations: 0 / 0.9288 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/0.6025, allocations: 40 kB / 0.9289 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.6025, allocations: 20 kB / 0.9289 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.6043, allocations: 1.104 MB / 0.93 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.6081, allocations: 2.465 MB / 0.9324 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.6097, allocations: 0.7981 MB / 0.9332 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.6102, allocations: 302.6 kB / 0.9335 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.6103, allocations: 28.62 kB / 0.9335 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008857/0.6112, allocations: 0.4912 MB / 0.934 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.026e-06/0.6112, allocations: 4 kB / 0.934 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.003256/0.6145, allocations: 1.178 MB / 0.9351 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/0.6146, allocations: 196.6 kB / 0.9353 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.6154, allocations: 0.6253 MB / 0.9359 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/0.6155, allocations: 41.7 kB / 0.936 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.6158, allocations: 396.3 kB / 0.9363 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.616, allocations: 260.3 kB / 0.9366 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.6162, allocations: 170.5 kB / 0.9367 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6164, allocations: 386.7 kB / 0.9371 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.617, allocations: 269.9 kB / 0.9374 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.6176, allocations: 359.1 kB / 0.9377 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6188, allocations: 0.5994 MB / 0.9383 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6188, allocations: 0 / 0.9383 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001992/0.6208, allocations: 0.8488 MB / 0.9391 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6208, allocations: 8 kB / 0.9391 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6208, allocations: 0 / 0.9391 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.6215, allocations: 92.7 kB / 0.9392 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.6221, allocations: 155.8 kB / 0.9394 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.6242, allocations: 1.627 MB / 0.941 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/0.625, allocations: 87.23 kB / 0.941 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.6251, allocations: 44.03 kB / 0.9411 GB, free: 0.5625 MB / 0.7012 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.0004221/0.6255, allocations: 281.8 kB / 0.9414 GB, free: 288 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.6256, allocations: 79.06 kB / 0.9414 GB, free: 208 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.6281, allocations: 1.054 MB / 0.9425 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.6281, allocations: 7.969 kB / 0.9425 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6281, allocations: 0 / 0.9425 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.6285, allocations: 275.6 kB / 0.9427 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6286, allocations: 20 kB / 0.9427 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.6293, allocations: 70.27 kB / 0.9428 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.6294, allocations: 64.91 kB / 0.9429 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002006/0.6314, allocations: 0.9474 MB / 0.9438 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002245/0.6337, allocations: 1.395 MB / 0.9452 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005939/0.6343, allocations: 347.8 kB / 0.9455 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005561/0.6349, allocations: 459 kB / 0.9459 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of Backend: time 6.31e-07/0.6349, allocations: 3.938 kB / 0.9459 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003193/0.6381, allocations: 1.255 MB / 0.9472 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002988/0.6411, allocations: 2.024 MB / 0.9491 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.3563/0.9974, allocations: 16.13 MB / 0.9649 GB, free: 187.5 MB / 0.7169 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)