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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 189.5 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002562/0.002562, allocations: 285.1 kB / 306.5 MB, free: 8.332 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.208/1.208, allocations: 180.9 MB / 0.53 GB, free: 14.37 MB / 382.1 MB " [Timeout remaining time 179] 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.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 0.002807/0.002807, allocations: 100.5 kB / 0.7308 GB, free: 38.62 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1469, allocations: 94.21 MB / 0.8228 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007701/0.1546, allocations: 5.172 MB / 0.8279 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.3365, allocations: 151.3 MB / 0.9756 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008475/0.3373, allocations: 23.81 kB / 0.9756 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008516/0.3382, allocations: 206.2 kB / 0.9758 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.3404, allocations: 0.5584 MB / 0.9764 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.3426, allocations: 0.8767 MB / 0.9772 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.3447, allocations: 1.444 MB / 0.9786 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000842/0.3455, allocations: 468.5 kB / 0.9791 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007639/0.3463, allocations: 0.5295 MB / 0.9796 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006688/0.3469, allocations: 0.5484 MB / 0.9801 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.3471, allocations: 124 kB / 0.9802 GB, free: 12 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009631/0.3481, allocations: 495.6 kB / 0.9807 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.3484, allocations: 315 kB / 0.981 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.349, allocations: 0.6102 MB / 0.9816 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.3511, allocations: 1.747 MB / 0.9833 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3511, allocations: 0 / 0.9833 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3511, allocations: 4 kB / 0.9833 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.3512, allocations: 0 / 0.9833 GB, free: 12.85 MB / 0.7325 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.002789/0.354, allocations: 1.45 MB / 0.9847 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.354, allocations: 12.03 kB / 0.9848 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.3552, allocations: 224 kB / 0.985 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.3564, allocations: 0.7289 MB / 0.9857 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.3565, allocations: 70 kB / 0.9857 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.3566, allocations: 92 kB / 0.9858 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.3586, allocations: 1.003 MB / 0.9868 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3586, allocations: 0 / 0.9868 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3587, allocations: 47.98 kB / 0.9869 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.3587, allocations: 24 kB / 0.9869 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.3609, allocations: 1.171 MB / 0.988 GB, free: 7.926 MB / 0.7325 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.004704/0.3656, allocations: 2.803 MB / 0.9908 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.3681, allocations: 0.8429 MB / 0.9916 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.3688, allocations: 294.7 kB / 0.9919 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.3689, allocations: 32.59 kB / 0.9919 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.3699, allocations: 0.4953 MB / 0.9924 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.234e-06/0.3699, allocations: 7.938 kB / 0.9924 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.003621/0.3735, allocations: 1.152 MB / 0.9935 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.3737, allocations: 200.5 kB / 0.9937 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/0.3746, allocations: 0.6372 MB / 0.9943 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.409e-05/0.3747, allocations: 41.7 kB / 0.9944 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.3751, allocations: 429 kB / 0.9948 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.3753, allocations: 277.6 kB / 0.995 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.3756, allocations: 174.6 kB / 0.9952 GB, free: 348 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.3758, allocations: 386.7 kB / 0.9956 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.3765, allocations: 277.8 kB / 0.9958 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/0.3772, allocations: 375.1 kB / 0.9962 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.3786, allocations: 0.6229 MB / 0.9968 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3786, allocations: 3.984 kB / 0.9968 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002279/0.3808, allocations: 0.8765 MB / 0.9977 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3809, allocations: 10.34 kB / 0.9977 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3809, allocations: 4 kB / 0.9977 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.3815, allocations: 88.8 kB / 0.9978 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.3822, allocations: 163.8 kB / 0.9979 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.3846, allocations: 1.527 MB / 0.9994 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/0.3855, allocations: 103.5 kB / 0.9995 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.3856, allocations: 35.98 kB / 0.9995 GB, free: 11.73 MB / 0.7481 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.0005683/0.3861, allocations: 276.2 kB / 0.9998 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.3863, allocations: 83.48 kB / 0.9999 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.389, allocations: 1.101 MB / 1.001 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.389, allocations: 8 kB / 1.001 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.389, allocations: 4 kB / 1.001 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.389, allocations: 3.984 kB / 1.001 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.3929, allocations: 1.973 MB / 1.003 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.3929, allocations: 4 kB / 1.003 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/0.3936, allocations: 151.8 kB / 1.003 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/0.394, allocations: 76.72 kB / 1.003 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.3941, allocations: 23.98 kB / 1.003 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.3962, allocations: 1.555 MB / 1.005 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3962, allocations: 4.031 kB / 1.005 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.3986, allocations: 1.022 MB / 1.006 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.3991, allocations: 207 kB / 1.006 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.3993, allocations: 27.98 kB / 1.006 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.4, allocations: 59.94 kB / 1.006 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.4002, allocations: 80.8 kB / 1.006 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.4003, allocations: 35.97 kB / 1.006 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006717/0.4009, allocations: 467 kB / 1.007 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.4009, allocations: 0 / 1.007 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009754/0.4019, allocations: 355.1 kB / 1.007 GB, free: 4.035 MB / 0.7481 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.001944/0.4039, allocations: 0.6005 MB / 1.007 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.4058, allocations: 0.8235 MB / 1.008 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4058, allocations: 0 / 1.008 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4069, allocations: 0.5002 MB / 1.009 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.4083, allocations: 308.7 kB / 1.009 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.4116, allocations: 1.756 MB / 1.011 GB, free: 204 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3144/0.726, allocations: 1.038 MB / 1.012 GB, free: 186.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000983/0.727, allocations: 269.8 kB / 1.012 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.7272, allocations: 108.6 kB / 1.012 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of SimCode: time 1.814e-06/0.7272, allocations: 3.5 kB / 1.012 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.02807/0.7553, allocations: 16.32 MB / 1.028 GB, free: 181.7 MB / 0.7481 GB " [Timeout remaining time 659] 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.158760244958103] Failed to read output from testmodel.py, exit status != 0: 0.7625786755234003 0.771535724 0.418203341 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe4113917b0>