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.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001572/0.001572, allocations: 195.4 kB / 16.14 MB, free: 6.707 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 268.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9302/0.9302, allocations: 169.2 MB / 0.4977 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 94.31 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1496, allocations: 86.98 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005565/0.1552, allocations: 4.35 MB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4304/0.5856, allocations: 148.2 MB / 0.8284 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000757/0.5864, allocations: 18.97 kB / 0.8284 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006548/0.5871, allocations: 136 kB / 0.8286 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.5889, allocations: 432.7 kB / 0.829 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.5907, allocations: 0.7127 MB / 0.8297 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.5922, allocations: 1.208 MB / 0.8309 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009448/0.5932, allocations: 0.5985 MB / 0.8314 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006613/0.5938, allocations: 410.1 kB / 0.8318 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.5944, allocations: 460 kB / 0.8323 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.5945, allocations: 55.06 kB / 0.8323 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007937/0.5953, allocations: 397.7 kB / 0.8327 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.5955, allocations: 235.6 kB / 0.8329 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.5959, allocations: 488.8 kB / 0.8334 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.5972, allocations: 1.506 MB / 0.8349 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5972, allocations: 0 / 0.8349 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5972, allocations: 0 / 0.8349 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.5973, allocations: 0 / 0.8349 GB, free: 15.94 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.002462/0.5997, allocations: 1.413 MB / 0.8363 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5998, allocations: 8.938 kB / 0.8363 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009215/0.6007, allocations: 181.4 kB / 0.8364 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.6017, allocations: 0.7422 MB / 0.8372 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.6017, allocations: 60.75 kB / 0.8372 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6019, allocations: 82.06 kB / 0.8373 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.6034, allocations: 0.9156 MB / 0.8382 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.6034, allocations: 1.781 kB / 0.8382 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.6035, allocations: 34.59 kB / 0.8382 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.6035, allocations: 21.5 kB / 0.8382 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.6052, allocations: 1.103 MB / 0.8393 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.6091, allocations: 2.491 MB / 0.8418 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.6105, allocations: 0.7945 MB / 0.8425 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.611, allocations: 297.2 kB / 0.8428 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.25e-05/0.6111, allocations: 38.84 kB / 0.8428 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009001/0.612, allocations: 494.9 kB / 0.8433 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.254e-06/0.612, allocations: 0 / 0.8433 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003195/0.6152, allocations: 1.187 MB / 0.8445 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.6154, allocations: 193.9 kB / 0.8447 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.6161, allocations: 0.6271 MB / 0.8453 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.818e-05/0.6162, allocations: 47.45 kB / 0.8453 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.6165, allocations: 395.5 kB / 0.8457 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.6167, allocations: 258.4 kB / 0.8459 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.617, allocations: 161.5 kB / 0.8461 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6171, allocations: 390.4 kB / 0.8465 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.6176, allocations: 266.7 kB / 0.8467 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.6182, allocations: 368.4 kB / 0.8471 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.6193, allocations: 0.5996 MB / 0.8477 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6193, allocations: 4 kB / 0.8477 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001907/0.6212, allocations: 0.8506 MB / 0.8485 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6212, allocations: 2.75 kB / 0.8485 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6212, allocations: 2.344 kB / 0.8485 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/0.6219, allocations: 75.44 kB / 0.8486 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.6225, allocations: 164.6 kB / 0.8487 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.6245, allocations: 1.524 MB / 0.8502 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.6253, allocations: 88.23 kB / 0.8503 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.6254, allocations: 34.94 kB / 0.8503 GB, free: 6.926 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.0004325/0.6258, allocations: 274.7 kB / 0.8506 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.626, allocations: 83.97 kB / 0.8507 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.6283, allocations: 1.055 MB / 0.8517 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.6283, allocations: 14.41 kB / 0.8517 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6283, allocations: 0 / 0.8517 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.6283, allocations: 7.969 kB / 0.8517 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.6293, allocations: 0.8939 MB / 0.8526 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6293, allocations: 0 / 0.8526 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.6299, allocations: 142.4 kB / 0.8527 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/0.6304, allocations: 79.5 kB / 0.8528 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.6305, allocations: 27.47 kB / 0.8528 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.6323, allocations: 1.557 MB / 0.8544 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6323, allocations: 0 / 0.8544 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.6343, allocations: 0.9207 MB / 0.8553 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.6346, allocations: 267.2 kB / 0.8555 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.6348, allocations: 19.97 kB / 0.8555 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.6354, allocations: 75.7 kB / 0.8556 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.6356, allocations: 65.97 kB / 0.8557 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.6356, allocations: 34.62 kB / 0.8557 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005972/0.6362, allocations: 455 kB / 0.8561 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6362, allocations: 3.938 kB / 0.8561 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008134/0.6371, allocations: 309.7 kB / 0.8564 GB, free: 2.625 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.001324/0.6384, allocations: 0.6109 MB / 0.857 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.64, allocations: 0.8224 MB / 0.8578 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.64, allocations: 0 / 0.8578 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.641, allocations: 0.5085 MB / 0.8583 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6421, allocations: 270.4 kB / 0.8586 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.6459, allocations: 2.15 MB / 0.8607 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.6465, allocations: 1.025 MB / 0.8617 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.6474, allocations: 263.5 kB / 0.8619 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.6477, allocations: 105.9 kB / 0.862 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.6477, allocations: 0 / 0.862 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.03034/0.678, allocations: 14.02 MB / 0.8757 GB, free: 6.031 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)