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.0009074/0.0009075, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008593/0.0008593, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001666, allocations: 277.8 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9941/0.9941, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004703, allocations: 12.34 kB / 0.598 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 88.55 MB / 0.6845 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005817/0.2331, allocations: 4.07 MB / 0.6884 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5164/0.7496, allocations: 136.9 MB / 0.8221 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.7507, allocations: 19.19 kB / 0.8222 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005526/0.7513, allocations: 147.7 kB / 0.8223 GB, free: 432 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.753, allocations: 440.6 kB / 0.8227 GB, free: 240 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.7548, allocations: 0.6512 MB / 0.8234 GB, free: 80 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.7565, allocations: 1.24 MB / 0.8246 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.7575, allocations: 0.6917 MB / 0.8252 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007235/0.7582, allocations: 373 kB / 0.8256 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.7588, allocations: 423.2 kB / 0.826 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.605e-05/0.7589, allocations: 28.72 kB / 0.826 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009308/0.7598, allocations: 341.7 kB / 0.8264 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.7601, allocations: 208.2 kB / 0.8266 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.7603, allocations: 234 kB / 0.8268 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.7618, allocations: 1.417 MB / 0.8282 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.7618, allocations: 2.312 kB / 0.8282 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7618, allocations: 0 / 0.8282 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.7619, allocations: 0 / 0.8282 GB, free: 14.37 MB / 0.5606 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.002539/0.7644, allocations: 1.432 MB / 0.8296 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7645, allocations: 9.688 kB / 0.8296 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009223/0.7654, allocations: 224.4 kB / 0.8298 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.7666, allocations: 0.8194 MB / 0.8306 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/0.7666, allocations: 94.03 kB / 0.8307 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.7668, allocations: 114.3 kB / 0.8308 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.7686, allocations: 1.202 MB / 0.832 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.7686, allocations: 0 / 0.832 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.7687, allocations: 50.44 kB / 0.832 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.7687, allocations: 27.62 kB / 0.832 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.7705, allocations: 1.283 MB / 0.8333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.775, allocations: 3.195 MB / 0.8364 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.7764, allocations: 0.8634 MB / 0.8373 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.7769, allocations: 328 kB / 0.8376 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-05/0.7769, allocations: 33.12 kB / 0.8376 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008217/0.7778, allocations: 0.518 MB / 0.8381 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=87): time 2.234e-06/0.7778, allocations: 4 kB / 0.8381 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.002834/0.7806, allocations: 1.279 MB / 0.8394 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.7807, allocations: 199.6 kB / 0.8395 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.7816, allocations: 0.7236 MB / 0.8403 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.7817, allocations: 46.28 kB / 0.8403 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.7821, allocations: 0.5166 MB / 0.8408 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.7823, allocations: 287.4 kB / 0.8411 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.7824, allocations: 15.19 kB / 0.8411 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7825, allocations: 337.6 kB / 0.8414 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.783, allocations: 286.7 kB / 0.8417 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.7836, allocations: 395.8 kB / 0.8421 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.7842, allocations: 328.8 kB / 0.8424 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7842, allocations: 0 / 0.8424 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001834/0.786, allocations: 0.9297 MB / 0.8433 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.786, allocations: 7.375 kB / 0.8433 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7861, allocations: 0 / 0.8433 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/0.7866, allocations: 83.69 kB / 0.8434 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.7873, allocations: 175.9 kB / 0.8435 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.7891, allocations: 1.516 MB / 0.845 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/0.7899, allocations: 119.9 kB / 0.8451 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.79, allocations: 40.66 kB / 0.8452 GB, free: 5.332 MB / 0.5606 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005373/0.7906, allocations: 297.5 kB / 0.8455 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.7907, allocations: 91.5 kB / 0.8455 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.793, allocations: 1.15 MB / 0.8467 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.7931, allocations: 10.47 kB / 0.8467 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.7931, allocations: 0 / 0.8467 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.7931, allocations: 3.984 kB / 0.8467 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.7943, allocations: 1.049 MB / 0.8477 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7943, allocations: 0 / 0.8477 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.7949, allocations: 156 kB / 0.8479 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.7954, allocations: 87.16 kB / 0.8479 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.7954, allocations: 32.61 kB / 0.848 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.7972, allocations: 1.538 MB / 0.8495 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7972, allocations: 6.969 kB / 0.8495 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.7991, allocations: 0.9862 MB / 0.8504 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.7995, allocations: 299.8 kB / 0.8507 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.7996, allocations: 21.75 kB / 0.8507 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.8002, allocations: 86.06 kB / 0.8508 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.8004, allocations: 78.17 kB / 0.8509 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/0.8005, allocations: 40.72 kB / 0.8509 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006309/0.8011, allocations: 0.507 MB / 0.8514 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8011, allocations: 0 / 0.8514 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008988/0.802, allocations: 361.6 kB / 0.8518 GB, free: 0.7148 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/0.8034, allocations: 0.5952 MB / 0.8524 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.805, allocations: 0.8818 MB / 0.8532 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.805, allocations: 0 / 0.8532 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.8059, allocations: 0.5475 MB / 0.8538 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.8071, allocations: 283.9 kB / 0.854 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.8116, allocations: 2.612 MB / 0.8566 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.8123, allocations: 1.108 MB / 0.8577 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009412/0.8132, allocations: 272 kB / 0.8579 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.8135, allocations: 112.1 kB / 0.858 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.8135, allocations: 0 / 0.858 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.02518/0.8387, allocations: 14.4 MB / 0.8721 GB, free: 15.7 MB / 0.5919 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)