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.001061/0.001061, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001128/0.001128, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 286.9 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9489/0.9489, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003051/0.003051, allocations: 91.17 kB / 0.5947 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.174, allocations: 86.99 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006371/0.1804, allocations: 4.744 MB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4614/0.6418, allocations: 148.5 MB / 0.8292 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009024/0.6428, allocations: 20.47 kB / 0.8293 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.6434, allocations: 154.1 kB / 0.8294 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.645, allocations: 465.4 kB / 0.8298 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.647, allocations: 0.7748 MB / 0.8306 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.6486, allocations: 1.447 MB / 0.832 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.6498, allocations: 0.9225 MB / 0.8329 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/0.6506, allocations: 0.5831 MB / 0.8335 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.6512, allocations: 0.6291 MB / 0.8341 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.6514, allocations: 154.6 kB / 0.8342 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.6524, allocations: 494.4 kB / 0.8347 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.6527, allocations: 374.4 kB / 0.8351 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005323/0.6533, allocations: 0.6957 MB / 0.8358 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.6551, allocations: 1.911 MB / 0.8376 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6551, allocations: 0 / 0.8376 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6552, allocations: 0.6875 kB / 0.8376 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.261e-05/0.6552, allocations: 0 / 0.8376 GB, free: 15.64 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00291/0.6581, allocations: 1.691 MB / 0.8393 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6582, allocations: 9.625 kB / 0.8393 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.6592, allocations: 224.1 kB / 0.8395 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.6604, allocations: 0.8471 MB / 0.8403 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.6605, allocations: 91.91 kB / 0.8404 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.6606, allocations: 112.8 kB / 0.8405 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.6628, allocations: 1.21 MB / 0.8417 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.6629, allocations: 0.625 kB / 0.8417 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.663, allocations: 52.97 kB / 0.8418 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.663, allocations: 27.81 kB / 0.8418 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.6651, allocations: 1.285 MB / 0.843 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/0.6707, allocations: 3.164 MB / 0.8461 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.6724, allocations: 0.8654 MB / 0.847 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.673, allocations: 323.3 kB / 0.8473 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/0.6731, allocations: 29.31 kB / 0.8473 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.6742, allocations: 0.5181 MB / 0.8478 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 3.707e-06/0.6742, allocations: 0 / 0.8478 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.003454/0.6777, allocations: 1.276 MB / 0.8491 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.6778, allocations: 191.6 kB / 0.8492 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.6789, allocations: 0.7363 MB / 0.85 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.679, allocations: 49.22 kB / 0.85 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.6795, allocations: 0.5175 MB / 0.8505 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.6798, allocations: 281.2 kB / 0.8508 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.6801, allocations: 172.5 kB / 0.8509 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6802, allocations: 345.4 kB / 0.8513 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.6808, allocations: 288.5 kB / 0.8515 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/0.6815, allocations: 389.3 kB / 0.8519 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.6827, allocations: 0.6529 MB / 0.8526 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.6828, allocations: 3.906 kB / 0.8526 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002173/0.6849, allocations: 0.9132 MB / 0.8535 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.685, allocations: 13.75 kB / 0.8535 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.685, allocations: 0 / 0.8535 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/0.6856, allocations: 85.84 kB / 0.8535 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.6864, allocations: 175.4 kB / 0.8537 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.6887, allocations: 1.63 MB / 0.8553 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/0.6897, allocations: 98.33 kB / 0.8554 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.6898, allocations: 45.06 kB / 0.8554 GB, free: 4.148 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 (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.0006966/0.6905, allocations: 300.6 kB / 0.8557 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.6908, allocations: 100.1 kB / 0.8558 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.6934, allocations: 1.121 MB / 0.8569 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.6934, allocations: 10.09 kB / 0.8569 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6935, allocations: 3.938 kB / 0.8569 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6935, allocations: 3.984 kB / 0.8569 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.6949, allocations: 1.049 MB / 0.858 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.695, allocations: 0 / 0.858 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.6956, allocations: 157.4 kB / 0.8581 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.6961, allocations: 77.56 kB / 0.8582 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/0.6962, allocations: 27.34 kB / 0.8582 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.6981, allocations: 1.655 MB / 0.8598 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6982, allocations: 0 / 0.8598 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.7003, allocations: 0.9912 MB / 0.8608 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.7007, allocations: 288.4 kB / 0.8611 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.701, allocations: 17.28 kB / 0.8611 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007173/0.7017, allocations: 65.95 kB / 0.8612 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.7019, allocations: 76.12 kB / 0.8612 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/0.702, allocations: 41.22 kB / 0.8613 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007783/0.7027, allocations: 0.5163 MB / 0.8618 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7027, allocations: 0 / 0.8618 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001047/0.7038, allocations: 367.9 kB / 0.8621 GB, free: 15.48 MB / 0.5919 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.001494/0.7053, allocations: 0.6108 MB / 0.8627 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.7079, allocations: 1.1 MB / 0.8638 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.7079, allocations: 0 / 0.8638 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.7089, allocations: 0.5431 MB / 0.8643 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.7102, allocations: 307 kB / 0.8646 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.715, allocations: 2.637 MB / 0.8672 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.7157, allocations: 1.109 MB / 0.8683 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009605/0.7167, allocations: 277.5 kB / 0.8685 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.717, allocations: 113.7 kB / 0.8686 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.717, allocations: 0 / 0.8686 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of Templates: time 0.0278/0.7448, allocations: 15.48 MB / 0.8838 GB, free: 14.3 MB / 0.6075 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)