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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7554/0.7554, allocations: 143.4 MB / 159.2 MB, free: 4.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 186.2 kB / 191.9 MB, free: 5.703 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107.1 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001943/0.001943, allocations: 283.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 79.89 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3956, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00709/0.4028, allocations: 4.12 MB / 0.772 GB, free: 23.55 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5008/0.9037, allocations: 148.1 MB / 0.9166 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009539/0.9047, allocations: 21 kB / 0.9166 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.9054, allocations: 131.4 kB / 0.9168 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.9076, allocations: 393.4 kB / 0.9171 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.9106, allocations: 0.6801 MB / 0.9178 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.9127, allocations: 1.094 MB / 0.9189 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.914, allocations: 0.5961 MB / 0.9194 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008718/0.9149, allocations: 370.9 kB / 0.9198 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.9156, allocations: 406.6 kB / 0.9202 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.9158, allocations: 49.12 kB / 0.9202 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.9171, allocations: 395.4 kB / 0.9206 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.9174, allocations: 215.8 kB / 0.9208 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006613/0.9181, allocations: 445.6 kB / 0.9212 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.9206, allocations: 1.379 MB / 0.9226 GB, free: 15.75 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.9207, allocations: 4.656 kB / 0.9226 GB, free: 15.75 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9207, allocations: 1.203 kB / 0.9226 GB, free: 15.75 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.9207, allocations: 0.5312 kB / 0.9226 GB, free: 15.75 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003799/0.9245, allocations: 1.312 MB / 0.9239 GB, free: 15.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.9246, allocations: 10.22 kB / 0.9239 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.9262, allocations: 179 kB / 0.9241 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.928, allocations: 0.6986 MB / 0.9247 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/0.9281, allocations: 58.92 kB / 0.9248 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.9283, allocations: 77.38 kB / 0.9249 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.9307, allocations: 0.853 MB / 0.9257 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.9307, allocations: 1.781 kB / 0.9257 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.9308, allocations: 32.25 kB / 0.9257 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.9308, allocations: 17.91 kB / 0.9258 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.9336, allocations: 1.058 MB / 0.9268 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/0.9398, allocations: 2.348 MB / 0.9291 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.9418, allocations: 0.7033 MB / 0.9298 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007437/0.9426, allocations: 268.3 kB / 0.93 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.9427, allocations: 30.61 kB / 0.93 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.9439, allocations: 424.3 kB / 0.9305 GB, free: 13.61 MB / 0.573 GB Notification: Performance of pre-optimization done (n=71): time 3.747e-06/0.9439, allocations: 0 / 0.9305 GB, free: 13.61 MB / 0.573 GB Notification: Performance of matching and sorting (n=71): time 0.004751/0.9487, allocations: 1.071 MB / 0.9315 GB, free: 13.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.9488, allocations: 190.5 kB / 0.9317 GB, free: 13.19 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.9501, allocations: 0.5843 MB / 0.9323 GB, free: 13.05 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.9502, allocations: 40.86 kB / 0.9323 GB, free: 13.02 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.9506, allocations: 373 kB / 0.9326 GB, free: 12.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.951, allocations: 233.4 kB / 0.9329 GB, free: 12.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/0.9514, allocations: 153.6 kB / 0.933 GB, free: 12.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002435/0.9517, allocations: 379.4 kB / 0.9334 GB, free: 12.36 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9527, allocations: 236.3 kB / 0.9336 GB, free: 12.36 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.9541, allocations: 321.9 kB / 0.9339 GB, free: 12.31 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.9562, allocations: 0.5426 MB / 0.9344 GB, free: 12.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.9563, allocations: 0 / 0.9344 GB, free: 12.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003547/0.9598, allocations: 0.7612 MB / 0.9352 GB, free: 12.17 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.9599, allocations: 8.078 kB / 0.9352 GB, free: 12.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.9599, allocations: 2.531 kB / 0.9352 GB, free: 12.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009863/0.9609, allocations: 86.08 kB / 0.9353 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.962, allocations: 142.5 kB / 0.9354 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.9655, allocations: 1.526 MB / 0.9369 GB, free: 10.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.9667, allocations: 85.08 kB / 0.937 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.9668, allocations: 34.75 kB / 0.937 GB, free: 10.83 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0008562/0.9677, allocations: 245.9 kB / 0.9372 GB, free: 10.71 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.968, allocations: 76.78 kB / 0.9373 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.9719, allocations: 0.9668 MB / 0.9383 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.9719, allocations: 8.531 kB / 0.9383 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.9719, allocations: 2.719 kB / 0.9383 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.972, allocations: 2.719 kB / 0.9383 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.9734, allocations: 0.8137 MB / 0.9391 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9735, allocations: 0 / 0.9391 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.9741, allocations: 147 kB / 0.9392 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006312/0.9748, allocations: 80.23 kB / 0.9393 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.9749, allocations: 27.94 kB / 0.9393 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.9772, allocations: 1.54 MB / 0.9408 GB, free: 9.012 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.9772, allocations: 0 / 0.9408 GB, free: 9.012 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/0.9806, allocations: 1.819 MB / 0.9426 GB, free: 8.266 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/0.9811, allocations: 256.5 kB / 0.9428 GB, free: 8.117 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.9812, allocations: 14.69 kB / 0.9429 GB, free: 8.117 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/0.9818, allocations: 56.33 kB / 0.9429 GB, free: 8.113 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.982, allocations: 56.91 kB / 0.943 GB, free: 8.113 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/0.9821, allocations: 33.72 kB / 0.943 GB, free: 8.109 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00068/0.9828, allocations: 431 kB / 0.9434 GB, free: 8.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9828, allocations: 0 / 0.9434 GB, free: 8.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001334/0.9841, allocations: 291.8 kB / 0.9437 GB, free: 7.965 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001746/0.9859, allocations: 0.604 MB / 0.9443 GB, free: 7.746 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.9878, allocations: 0.7427 MB / 0.945 GB, free: 7.613 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.9878, allocations: 2.531 kB / 0.945 GB, free: 7.613 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.9889, allocations: 486.1 kB / 0.9455 GB, free: 7.488 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.9902, allocations: 262.7 kB / 0.9457 GB, free: 7.469 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.9949, allocations: 2.428 MB / 0.9481 GB, free: 6.285 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.9957, allocations: 1.016 MB / 0.9491 GB, free: 5.566 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009241/0.9966, allocations: 255.7 kB / 0.9493 GB, free: 5.492 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.9969, allocations: 92.58 kB / 0.9494 GB, free: 5.484 MB / 0.573 GB Notification: Performance of SimCode: time 1.162e-06/0.9969, allocations: 0 / 0.9494 GB, free: 5.484 MB / 0.573 GB Notification: Performance of Templates: time 0.02215/1.019, allocations: 13.41 MB / 0.9625 GB, free: 15.81 MB / 0.5886 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)