Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007945/0.0007945, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008082/0.0008082, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8698/0.8698, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00138/0.00138, allocations: 246.2 kB / 260.2 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6683/0.6683, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.693e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.2182/0.2182, allocations: 4.649 MB / 0.652 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.121/0.3392, allocations: 132.8 MB / 0.7817 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.3403, allocations: 23.81 kB / 0.7817 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.3408, allocations: 206 kB / 0.7819 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.3424, allocations: 0.6063 MB / 0.7825 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.3441, allocations: 0.8707 MB / 0.7834 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009206/0.345, allocations: 1.503 MB / 0.7848 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005544/0.3455, allocations: 451.2 kB / 0.7853 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007832/0.3463, allocations: 0.7797 MB / 0.786 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.3467, allocations: 442.7 kB / 0.7864 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3468, allocations: 128 kB / 0.7866 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.3474, allocations: 0.4954 MB / 0.787 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.3476, allocations: 326.9 kB / 0.7874 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.3479, allocations: 419 kB / 0.7878 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.3492, allocations: 1.881 MB / 0.7896 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3492, allocations: 0 / 0.7896 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3492, allocations: 0 / 0.7896 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.3492, allocations: 4 kB / 0.7896 GB, free: 9.246 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001596/0.3508, allocations: 1.467 MB / 0.791 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3509, allocations: 13.94 kB / 0.791 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009319/0.3518, allocations: 279.9 kB / 0.7913 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.3526, allocations: 0.7263 MB / 0.792 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.3527, allocations: 78.94 kB / 0.7921 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.3528, allocations: 88 kB / 0.7922 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3541, allocations: 1.263 MB / 0.7934 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3541, allocations: 7.938 kB / 0.7934 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.3542, allocations: 40 kB / 0.7935 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3542, allocations: 24 kB / 0.7935 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.3553, allocations: 1.124 MB / 0.7946 GB, free: 3.984 MB / 0.6198 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.002374/0.3577, allocations: 2.177 MB / 0.7967 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.359, allocations: 0.845 MB / 0.7975 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.3594, allocations: 291.6 kB / 0.7978 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.3594, allocations: 24.62 kB / 0.7978 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006056/0.36, allocations: 0.6128 MB / 0.7984 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.415e-06/0.3601, allocations: 0 / 0.7984 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001826/0.3619, allocations: 1.15 MB / 0.7996 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.261e-05/0.362, allocations: 192.6 kB / 0.7997 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.3626, allocations: 0.5978 MB / 0.8003 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.3627, allocations: 41.7 kB / 0.8004 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.3629, allocations: 440.9 kB / 0.8008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.363, allocations: 273.7 kB / 0.801 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.3632, allocations: 166.6 kB / 0.8012 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3633, allocations: 390.7 kB / 0.8016 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.3636, allocations: 277.8 kB / 0.8018 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.3641, allocations: 499.6 kB / 0.8023 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.3648, allocations: 0.6229 MB / 0.8029 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3648, allocations: 0 / 0.8029 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001139/0.3659, allocations: 0.8726 MB / 0.8038 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.366, allocations: 7.984 kB / 0.8038 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.366, allocations: 4 kB / 0.8038 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.3663, allocations: 80.88 kB / 0.8039 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.3666, allocations: 167.7 kB / 0.804 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.3679, allocations: 1.499 MB / 0.8055 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.3682, allocations: 87.56 kB / 0.8056 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.3683, allocations: 41.06 kB / 0.8056 GB, free: 8.344 MB / 0.6355 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 (96): * Single equations (assignments): 95 * 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.0002659/0.3685, allocations: 275.8 kB / 0.8059 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.3686, allocations: 99.31 kB / 0.806 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.3702, allocations: 1.082 MB / 0.807 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3702, allocations: 12 kB / 0.807 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3702, allocations: 1 kB / 0.807 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3702, allocations: 7.969 kB / 0.807 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.3721, allocations: 1.732 MB / 0.8087 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3721, allocations: 7.938 kB / 0.8087 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.3724, allocations: 155.8 kB / 0.8089 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.3726, allocations: 72.78 kB / 0.809 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.3727, allocations: 27.97 kB / 0.809 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.3737, allocations: 1.526 MB / 0.8105 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3737, allocations: 4.031 kB / 0.8105 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3749, allocations: 1.018 MB / 0.8115 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.3751, allocations: 203 kB / 0.8117 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.3752, allocations: 23.92 kB / 0.8117 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.3755, allocations: 60.56 kB / 0.8117 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3756, allocations: 80.84 kB / 0.8118 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.3757, allocations: 39.48 kB / 0.8119 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003337/0.376, allocations: 431 kB / 0.8123 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.376, allocations: 4 kB / 0.8123 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006479/0.3766, allocations: 355 kB / 0.8126 GB, free: 0.9922 MB / 0.6355 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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.001111/0.3777, allocations: 0.6525 MB / 0.8133 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.3791, allocations: 0.8196 MB / 0.8141 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3791, allocations: 4 kB / 0.8141 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.3796, allocations: 0.5079 MB / 0.8146 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.3803, allocations: 296.6 kB / 0.8148 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3823, allocations: 1.786 MB / 0.8166 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3826, allocations: 461.4 kB / 0.817 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.3829, allocations: 116.4 kB / 0.8171 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/0.3829, allocations: 0 / 0.8171 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of Templates: time 0.01548/0.3983, allocations: 19.79 MB / 0.8365 GB, free: 8.852 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.148742476478219] Failed to read output from testmodel.py, exit status != 0: 0.40377938002347946 0.41204171599999995 0.060975132 Calling exit ...