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.001032/0.001032, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001081/0.001081, allocations: 168.7 kB / 15.95 MB, free: 204 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.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 270.6 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.9473/0.9473, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004752, allocations: 13 kB / 0.598 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.182, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005272/0.1873, allocations: 3.727 MB / 0.6881 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5634/0.7508, allocations: 136.7 MB / 0.8217 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007622/0.7516, allocations: 18.38 kB / 0.8217 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.7521, allocations: 131.2 kB / 0.8218 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.7535, allocations: 420.4 kB / 0.8222 GB, free: 432 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.7554, allocations: 0.6291 MB / 0.8228 GB, free: 276 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.7568, allocations: 1.111 MB / 0.8239 GB, free: 76 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000739/0.7575, allocations: 480.6 kB / 0.8244 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000601/0.7582, allocations: 323.3 kB / 0.8247 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004562/0.7586, allocations: 354.9 kB / 0.825 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.7587, allocations: 30.25 kB / 0.825 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009609/0.7597, allocations: 333.3 kB / 0.8254 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.7599, allocations: 183 kB / 0.8255 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.7601, allocations: 192.3 kB / 0.8257 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.7614, allocations: 1.151 MB / 0.8268 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7614, allocations: 5.109 kB / 0.8268 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7614, allocations: 0 / 0.8268 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.7614, allocations: 0 / 0.8268 GB, free: 14.99 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002263/0.7637, allocations: 1.212 MB / 0.828 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7637, allocations: 9.625 kB / 0.828 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.7646, allocations: 199.3 kB / 0.8282 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.7657, allocations: 0.7075 MB / 0.8289 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.7657, allocations: 61.91 kB / 0.829 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.7659, allocations: 80.69 kB / 0.829 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.7673, allocations: 0.9085 MB / 0.8299 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.7673, allocations: 0 / 0.8299 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.7674, allocations: 39.19 kB / 0.83 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.7674, allocations: 25.7 kB / 0.83 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.769, allocations: 1.107 MB / 0.8311 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.7727, allocations: 2.513 MB / 0.8335 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.774, allocations: 0.7904 MB / 0.8343 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.7745, allocations: 306.7 kB / 0.8346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.681e-05/0.7746, allocations: 29.2 kB / 0.8346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008086/0.7754, allocations: 494.7 kB / 0.8351 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 6.482e-06/0.7754, allocations: 4 kB / 0.8351 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.002872/0.7783, allocations: 1.205 MB / 0.8363 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.7784, allocations: 192.5 kB / 0.8365 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.7791, allocations: 0.6247 MB / 0.8371 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.7792, allocations: 41.36 kB / 0.8371 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.7794, allocations: 401.1 kB / 0.8375 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.7796, allocations: 262.1 kB / 0.8377 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.7797, allocations: 20.38 kB / 0.8378 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7798, allocations: 382.9 kB / 0.8381 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.7803, allocations: 263.5 kB / 0.8384 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.7809, allocations: 368.5 kB / 0.8387 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.7814, allocations: 301.2 kB / 0.839 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7814, allocations: 3.953 kB / 0.839 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001664/0.7831, allocations: 0.8524 MB / 0.8399 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7831, allocations: 5.844 kB / 0.8399 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7831, allocations: 2.844 kB / 0.8399 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.7836, allocations: 82.52 kB / 0.8399 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/0.7843, allocations: 168.9 kB / 0.8401 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.7862, allocations: 1.513 MB / 0.8416 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.7869, allocations: 104.1 kB / 0.8417 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.787, allocations: 43.39 kB / 0.8417 GB, free: 7.672 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 (95): * Single equations (assignments): 94 * 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.0004491/0.7874, allocations: 263.1 kB / 0.842 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.7876, allocations: 84.86 kB / 0.8421 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.7898, allocations: 1.069 MB / 0.8431 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.7898, allocations: 11.98 kB / 0.8431 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.7898, allocations: 0 / 0.8431 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.7898, allocations: 6.828 kB / 0.8431 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009859/0.7908, allocations: 0.8936 MB / 0.844 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7908, allocations: 0 / 0.844 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.7914, allocations: 144.5 kB / 0.8441 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.7919, allocations: 88.86 kB / 0.8442 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.792, allocations: 24.02 kB / 0.8442 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.7937, allocations: 1.561 MB / 0.8458 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7937, allocations: 0 / 0.8458 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.7955, allocations: 0.9275 MB / 0.8467 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.7959, allocations: 281 kB / 0.8469 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.796, allocations: 21.09 kB / 0.847 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.7966, allocations: 79.12 kB / 0.847 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.7968, allocations: 69.05 kB / 0.8471 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.7969, allocations: 34.84 kB / 0.8471 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000551/0.7974, allocations: 452.6 kB / 0.8476 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7974, allocations: 2.938 kB / 0.8476 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00096/0.7984, allocations: 307.8 kB / 0.8479 GB, free: 3.324 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 (91): * Single equations (assignments): 85 * 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.00145/0.7999, allocations: 0.6041 MB / 0.8484 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.8014, allocations: 0.8273 MB / 0.8493 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8014, allocations: 0 / 0.8493 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008203/0.8023, allocations: 0.5131 MB / 0.8498 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.8033, allocations: 259.3 kB / 0.85 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.8072, allocations: 2.155 MB / 0.8521 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.8078, allocations: 1.022 MB / 0.8531 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008566/0.8086, allocations: 257.7 kB / 0.8533 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.8089, allocations: 110.4 kB / 0.8535 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.8089, allocations: 0 / 0.8535 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.02285/0.8317, allocations: 13.53 MB / 0.8667 GB, free: 5.262 MB / 0.5762 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)