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.001799/0.001799, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002092/0.002092, allocations: 198.3 kB / 16.14 MB, free: 6.637 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 282.9 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 99.14 kB / 0.6057 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1628, allocations: 89.14 MB / 0.6928 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008002/0.1708, allocations: 5.949 MB / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4563/0.6272, allocations: 148.5 MB / 0.8436 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.6281, allocations: 20.66 kB / 0.8437 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.6288, allocations: 192.7 kB / 0.8438 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.6305, allocations: 0.5293 MB / 0.8444 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.6325, allocations: 0.7503 MB / 0.8451 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.6341, allocations: 1.541 MB / 0.8466 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.6353, allocations: 0.8448 MB / 0.8474 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000709/0.636, allocations: 0.5336 MB / 0.8479 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006797/0.6367, allocations: 0.6254 MB / 0.8485 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.6369, allocations: 86.5 kB / 0.8486 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009063/0.6378, allocations: 432.3 kB / 0.849 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.6381, allocations: 307.5 kB / 0.8493 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006518/0.6388, allocations: 0.669 MB / 0.85 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.6407, allocations: 1.927 MB / 0.8519 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6407, allocations: 0.8438 kB / 0.8519 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6407, allocations: 0 / 0.8519 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.6408, allocations: 0 / 0.8519 GB, free: 3.031 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.003046/0.6438, allocations: 1.722 MB / 0.8536 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.6439, allocations: 10.12 kB / 0.8536 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.6448, allocations: 221.3 kB / 0.8538 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.646, allocations: 0.8458 MB / 0.8546 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.6461, allocations: 89.73 kB / 0.8547 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.6463, allocations: 114 kB / 0.8548 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.6482, allocations: 1.202 MB / 0.856 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.6482, allocations: 0 / 0.856 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.6484, allocations: 52.22 kB / 0.856 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.6484, allocations: 30.38 kB / 0.856 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.6504, allocations: 1.284 MB / 0.8573 GB, free: 15.41 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/0.6556, allocations: 3.58 MB / 0.8608 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.6571, allocations: 0.8732 MB / 0.8617 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/0.6577, allocations: 320.2 kB / 0.862 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.6578, allocations: 35.72 kB / 0.862 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000987/0.6588, allocations: 0.5219 MB / 0.8625 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 4.459e-06/0.6588, allocations: 112 / 0.8625 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.00333/0.6622, allocations: 1.284 MB / 0.8638 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.6623, allocations: 194.7 kB / 0.8639 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.6632, allocations: 0.7347 MB / 0.8647 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.6633, allocations: 43.39 kB / 0.8647 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.6637, allocations: 0.5124 MB / 0.8652 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.6639, allocations: 290 kB / 0.8655 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.6642, allocations: 175.5 kB / 0.8656 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6644, allocations: 345.4 kB / 0.866 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.665, allocations: 291 kB / 0.8662 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.6656, allocations: 386.9 kB / 0.8666 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.6668, allocations: 0.6658 MB / 0.8673 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6668, allocations: 1.969 kB / 0.8673 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002003/0.6689, allocations: 0.9182 MB / 0.8682 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6689, allocations: 4.875 kB / 0.8682 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6689, allocations: 10.48 kB / 0.8682 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/0.6695, allocations: 79.69 kB / 0.8683 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.6702, allocations: 178.8 kB / 0.8684 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.6724, allocations: 1.528 MB / 0.8699 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.6732, allocations: 111.2 kB / 0.87 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.6733, allocations: 39.97 kB / 0.8701 GB, free: 6.066 MB / 0.5919 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.0004564/0.6738, allocations: 291.4 kB / 0.8703 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.674, allocations: 102.8 kB / 0.8704 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.6765, allocations: 1.123 MB / 0.8715 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6765, allocations: 15.94 kB / 0.8716 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6765, allocations: 5.812 kB / 0.8716 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.6766, allocations: 3.984 kB / 0.8716 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.6779, allocations: 1.048 MB / 0.8726 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.6779, allocations: 0 / 0.8726 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/0.6785, allocations: 147.8 kB / 0.8727 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005304/0.6791, allocations: 88.77 kB / 0.8728 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.6791, allocations: 23.98 kB / 0.8728 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.6811, allocations: 1.555 MB / 0.8744 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6811, allocations: 0 / 0.8744 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.6832, allocations: 0.9863 MB / 0.8753 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.6836, allocations: 283.6 kB / 0.8756 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.6837, allocations: 20 kB / 0.8756 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.6844, allocations: 77.86 kB / 0.8757 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.6846, allocations: 76.83 kB / 0.8758 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.6847, allocations: 39.92 kB / 0.8758 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000701/0.6854, allocations: 0.5107 MB / 0.8763 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.054e-06/0.6854, allocations: 0 / 0.8763 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000974/0.6864, allocations: 386.8 kB / 0.8767 GB, free: 15.07 MB / 0.6075 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.001934/0.6883, allocations: 0.6042 MB / 0.8772 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.6901, allocations: 0.879 MB / 0.8781 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6901, allocations: 8.188 kB / 0.8781 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/0.6911, allocations: 0.5432 MB / 0.8786 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.6924, allocations: 308.3 kB / 0.8789 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.6962, allocations: 2.534 MB / 0.8814 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.6969, allocations: 1.102 MB / 0.8825 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009881/0.6979, allocations: 299.5 kB / 0.8828 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.6982, allocations: 111.3 kB / 0.8829 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.6982, allocations: 0 / 0.8829 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.02745/0.7257, allocations: 15.71 MB / 0.8982 GB, free: 9.285 MB / 0.6231 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)