Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.147/3.147, allocations: 287.3 MB / 302.3 MB, free: 8.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 186.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.619/2.619, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 93.94 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007059/0.0007056, allocations: 10.53 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2958, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007228/0.3031, allocations: 3.452 MB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 1.072/1.376, allocations: 127.2 MB / 1.106 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007676/1.377, allocations: 18.03 kB / 1.106 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003651/1.377, allocations: 69.45 kB / 1.106 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/1.379, allocations: 416.5 kB / 1.106 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/1.382, allocations: 0.5813 MB / 1.107 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001983/1.384, allocations: 0.7197 MB / 1.108 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009848/1.385, allocations: 448.6 kB / 1.108 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008495/1.386, allocations: 293.1 kB / 1.108 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006766/1.386, allocations: 283.1 kB / 1.108 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/1.386, allocations: 21.47 kB / 1.109 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/1.388, allocations: 243.2 kB / 1.109 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/1.388, allocations: 160.6 kB / 1.109 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003865/1.388, allocations: 172.1 kB / 1.109 GB, free: 17.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/1.391, allocations: 1.004 MB / 1.11 GB, free: 17.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.391, allocations: 0 / 1.11 GB, free: 17.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.446e-06/1.391, allocations: 5.531 kB / 1.11 GB, free: 17.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.838e-05/1.391, allocations: 0 / 1.11 GB, free: 17.15 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003534/1.395, allocations: 1.107 MB / 1.111 GB, free: 16.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.395, allocations: 12.89 kB / 1.111 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/1.397, allocations: 189.6 kB / 1.111 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/1.399, allocations: 0.6656 MB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.993e-05/1.399, allocations: 54.58 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/1.399, allocations: 80.53 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/1.402, allocations: 0.8308 MB / 1.113 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/1.402, allocations: 4.75 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/1.402, allocations: 32.53 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/1.402, allocations: 22.2 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/1.406, allocations: 1.048 MB / 1.114 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007114/1.413, allocations: 2.354 MB / 1.116 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/1.415, allocations: 0.7147 MB / 1.117 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/1.415, allocations: 28.22 kB / 1.117 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/1.416, allocations: 424.2 kB / 1.117 GB, free: 14.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 3.607e-06/1.416, allocations: 0 / 1.117 GB, free: 14.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.005432/1.422, allocations: 1.066 MB / 1.118 GB, free: 14.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/1.422, allocations: 193.9 kB / 1.119 GB, free: 14.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/1.424, allocations: 0.5606 MB / 1.119 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003917/1.425, allocations: 41.16 kB / 1.119 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008237/1.425, allocations: 373.6 kB / 1.12 GB, free: 14.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/1.426, allocations: 237.9 kB / 1.12 GB, free: 14.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/1.426, allocations: 12.34 kB / 1.12 GB, free: 14.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003281/1.426, allocations: 380 kB / 1.12 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/1.428, allocations: 211.1 kB / 1.12 GB, free: 13.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/1.43, allocations: 315.4 kB / 1.121 GB, free: 13.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.431, allocations: 262.3 kB / 1.121 GB, free: 13.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/1.431, allocations: 3.344 kB / 1.121 GB, free: 13.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004297/1.435, allocations: 0.7115 MB / 1.122 GB, free: 13.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/1.435, allocations: 8.547 kB / 1.122 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.435, allocations: 1.031 kB / 1.122 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009785/1.436, allocations: 87.88 kB / 1.122 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.438, allocations: 138.2 kB / 1.122 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/1.441, allocations: 1.535 MB / 1.123 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.442, allocations: 87.45 kB / 1.123 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/1.442, allocations: 27.28 kB / 1.123 GB, free: 12.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0006788/1.443, allocations: 251.7 kB / 1.124 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/1.443, allocations: 74.48 kB / 1.124 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/1.447, allocations: 0.9707 MB / 1.125 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.447, allocations: 9.094 kB / 1.125 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.447, allocations: 4 kB / 1.125 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.447, allocations: 4.406 kB / 1.125 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/1.448, allocations: 0.8311 MB / 1.126 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.448, allocations: 0 / 1.126 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.45, allocations: 141.7 kB / 1.126 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008693/1.45, allocations: 81.58 kB / 1.126 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/1.451, allocations: 24.78 kB / 1.126 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/1.453, allocations: 1.552 MB / 1.127 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.453, allocations: 0 / 1.127 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/1.457, allocations: 0.8312 MB / 1.128 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/1.457, allocations: 261.5 kB / 1.128 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/1.457, allocations: 15.91 kB / 1.128 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/1.458, allocations: 74.22 kB / 1.128 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/1.459, allocations: 61.22 kB / 1.129 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-05/1.459, allocations: 31.08 kB / 1.129 GB, free: 10.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008057/1.46, allocations: 418.8 kB / 1.129 GB, free: 9.922 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.46, allocations: 0 / 1.129 GB, free: 9.922 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00121/1.461, allocations: 258.4 kB / 1.129 GB, free: 9.875 MB / 0.698 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 (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.001714/1.462, allocations: 0.5513 MB / 1.13 GB, free: 9.656 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00251/1.465, allocations: 0.7192 MB / 1.13 GB, free: 9.516 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.465, allocations: 0 / 1.13 GB, free: 9.516 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/1.466, allocations: 479.6 kB / 1.131 GB, free: 9.387 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.468, allocations: 228.8 kB / 1.131 GB, free: 9.363 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/1.475, allocations: 1.984 MB / 1.133 GB, free: 8.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/1.475, allocations: 1.008 MB / 1.134 GB, free: 7.547 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001547/1.477, allocations: 262.3 kB / 1.134 GB, free: 7.414 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/1.477, allocations: 95.02 kB / 1.134 GB, free: 7.395 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.477, allocations: 0 / 1.134 GB, free: 7.395 MB / 0.698 GB Notification: Performance of Templates: time 0.03944/1.517, allocations: 12.25 MB / 1.146 GB, free: 1.273 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)