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.001305/0.001305, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002151/0.002151, allocations: 164.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.002567/0.002567, allocations: 237.3 kB / 259.4 MB, free: 480 kB / 238.1 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 1.076/1.076, allocations: 138.4 MB / 454.3 MB, free: 1.992 MB / 366.1 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.502e-06/1.502e-06, allocations: 0 / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.124e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006675/0.006696, allocations: 4.662 MB / 0.6513 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3832/0.3899, allocations: 132.8 MB / 0.781 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008811/0.3908, allocations: 23.81 kB / 0.781 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000806/0.3916, allocations: 214 kB / 0.7812 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.3937, allocations: 0.5939 MB / 0.7818 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.3961, allocations: 0.88 MB / 0.7826 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.3982, allocations: 1.494 MB / 0.7841 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000991/0.3992, allocations: 453.5 kB / 0.7845 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.4007, allocations: 0.7913 MB / 0.7853 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007579/0.4015, allocations: 430.8 kB / 0.7857 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.4017, allocations: 128 kB / 0.7858 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000988/0.4027, allocations: 0.4954 MB / 0.7863 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.403, allocations: 326.9 kB / 0.7866 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.4035, allocations: 418.9 kB / 0.787 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.4058, allocations: 1.885 MB / 0.7889 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4058, allocations: 0 / 0.7889 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4058, allocations: 0 / 0.7889 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.4058, allocations: 4 kB / 0.7889 GB, free: 14.83 MB / 0.6231 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.002955/0.4088, allocations: 1.462 MB / 0.7903 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4088, allocations: 13.34 kB / 0.7903 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.4109, allocations: 275.9 kB / 0.7906 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.4123, allocations: 0.738 MB / 0.7913 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.4123, allocations: 70.38 kB / 0.7914 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.4125, allocations: 98.38 kB / 0.7915 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.4145, allocations: 1.258 MB / 0.7927 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.4146, allocations: 4 kB / 0.7927 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.4147, allocations: 39.98 kB / 0.7927 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.4147, allocations: 24 kB / 0.7928 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.4168, allocations: 1.128 MB / 0.7939 GB, free: 9.566 MB / 0.6231 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.004276/0.4211, allocations: 2.173 MB / 0.796 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.4238, allocations: 0.8453 MB / 0.7968 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.4244, allocations: 293.2 kB / 0.7971 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.826e-05/0.4245, allocations: 24.56 kB / 0.7971 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.4255, allocations: 0.6051 MB / 0.7977 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.4256, allocations: 0 / 0.7977 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003674/0.4292, allocations: 1.154 MB / 0.7988 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.4294, allocations: 192.5 kB / 0.799 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008497/0.4302, allocations: 0.5978 MB / 0.7996 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.4303, allocations: 45.69 kB / 0.7996 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.4307, allocations: 441 kB / 0.8001 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.4309, allocations: 285.5 kB / 0.8003 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.4312, allocations: 158.6 kB / 0.8005 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.4314, allocations: 394.7 kB / 0.8009 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/0.4321, allocations: 281.7 kB / 0.8011 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/0.4329, allocations: 495.6 kB / 0.8016 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.4343, allocations: 0.6307 MB / 0.8022 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4343, allocations: 0 / 0.8022 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002317/0.4366, allocations: 0.8687 MB / 0.8031 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4367, allocations: 4.625 kB / 0.8031 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4367, allocations: 0 / 0.8031 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006761/0.4373, allocations: 88.86 kB / 0.8031 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.4381, allocations: 167.8 kB / 0.8033 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.4404, allocations: 1.497 MB / 0.8048 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007925/0.4412, allocations: 93.22 kB / 0.8049 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-05/0.4413, allocations: 35.98 kB / 0.8049 GB, free: 13.92 MB / 0.6387 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.0004667/0.4417, allocations: 271.7 kB / 0.8052 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.4419, allocations: 95.44 kB / 0.8052 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.4447, allocations: 1.09 MB / 0.8063 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4447, allocations: 8 kB / 0.8063 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4447, allocations: 4 kB / 0.8063 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4448, allocations: 3.984 kB / 0.8063 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.4483, allocations: 1.738 MB / 0.808 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4483, allocations: 4 kB / 0.808 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007012/0.449, allocations: 147.7 kB / 0.8082 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.4495, allocations: 76.78 kB / 0.8082 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.4496, allocations: 23.98 kB / 0.8083 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.4517, allocations: 1.525 MB / 0.8098 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4517, allocations: 4.031 kB / 0.8098 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.454, allocations: 1.022 MB / 0.8108 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.4545, allocations: 195.1 kB / 0.8109 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.4546, allocations: 27.88 kB / 0.811 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/0.4553, allocations: 64.48 kB / 0.811 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.4555, allocations: 76.8 kB / 0.8111 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/0.4556, allocations: 39.97 kB / 0.8111 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005973/0.4562, allocations: 435 kB / 0.8116 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.4562, allocations: 4 kB / 0.8116 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009542/0.4572, allocations: 351 kB / 0.8119 GB, free: 6.574 MB / 0.6387 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.002145/0.4593, allocations: 0.656 MB / 0.8125 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.4612, allocations: 0.8197 MB / 0.8133 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4613, allocations: 4 kB / 0.8133 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4623, allocations: 0.5002 MB / 0.8138 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.4636, allocations: 297.6 kB / 0.8141 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.4669, allocations: 1.748 MB / 0.8158 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.4674, allocations: 461.4 kB / 0.8163 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007865/0.4682, allocations: 266.4 kB / 0.8165 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.4685, allocations: 112.4 kB / 0.8166 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.4685, allocations: 3.938 kB / 0.8166 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of Templates: time 0.02794/0.4964, allocations: 15.46 MB / 0.8317 GB, free: 2.762 MB / 0.6544 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: 6.574120633304119] Failed to read output from testmodel.py, exit status != 0: 0.5047214590013027 0.5306762190000001 0.11986290000000001 Calling exit ...