Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001321/0.001321, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.00144/0.00144, allocations: 169 kB / 22.46 MB, free: 5.363 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.443/1.443, 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.002584/0.002584, allocations: 233.4 kB / 259.4 MB, free: 484 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.067/1.067, allocations: 138.4 MB / 454.3 MB, free: 1.988 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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.827e-06/3.827e-06, allocations: 4 kB / 0.6468 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.279e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006795/0.006818, allocations: 4.678 MB / 0.6513 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3798/0.3867, allocations: 132.8 MB / 0.7811 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007717/0.3874, allocations: 23.81 kB / 0.7811 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006966/0.3881, allocations: 214 kB / 0.7813 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.3901, allocations: 0.5976 MB / 0.7819 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.3923, allocations: 0.8954 MB / 0.7827 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.3941, allocations: 1.514 MB / 0.7842 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000831/0.395, allocations: 451.2 kB / 0.7847 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.3962, allocations: 0.789 MB / 0.7854 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.3969, allocations: 438.8 kB / 0.7858 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.3971, allocations: 128 kB / 0.786 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.3981, allocations: 0.5188 MB / 0.7865 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.3985, allocations: 326.9 kB / 0.7868 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.399, allocations: 426.9 kB / 0.7872 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.4014, allocations: 1.896 MB / 0.789 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4014, allocations: 0 / 0.789 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4014, allocations: 0 / 0.789 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.778e-05/0.4014, allocations: 0 / 0.789 GB, free: 14.69 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002723/0.4041, allocations: 1.481 MB / 0.7905 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.4042, allocations: 8.75 kB / 0.7905 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.4061, allocations: 275.9 kB / 0.7908 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.4074, allocations: 0.7341 MB / 0.7915 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.4075, allocations: 78.12 kB / 0.7916 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.4076, allocations: 91.98 kB / 0.7916 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.4096, allocations: 1.269 MB / 0.7929 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4097, allocations: 4 kB / 0.7929 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.4098, allocations: 40 kB / 0.7929 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.4098, allocations: 24 kB / 0.7929 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.4119, allocations: 1.132 MB / 0.7941 GB, free: 9.391 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.004136/0.416, allocations: 2.253 MB / 0.7963 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.4178, allocations: 0.7913 MB / 0.797 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.4185, allocations: 287.4 kB / 0.7973 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.419, allocations: 80.56 kB / 0.7974 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.42, allocations: 0.6091 MB / 0.798 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.504e-06/0.42, allocations: 0 / 0.798 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003572/0.4236, allocations: 1.154 MB / 0.7991 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.4237, allocations: 200.6 kB / 0.7993 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007934/0.4245, allocations: 0.5978 MB / 0.7999 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.4246, allocations: 49.69 kB / 0.7999 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.4249, allocations: 441 kB / 0.8003 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.4252, allocations: 281.7 kB / 0.8006 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.4255, allocations: 162.6 kB / 0.8008 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.4257, allocations: 382.7 kB / 0.8011 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006393/0.4263, allocations: 277.8 kB / 0.8014 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008353/0.4272, allocations: 0.4956 MB / 0.8019 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.4285, allocations: 0.6307 MB / 0.8025 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4285, allocations: 0 / 0.8025 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002225/0.4308, allocations: 0.8765 MB / 0.8034 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4308, allocations: 8.094 kB / 0.8034 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4308, allocations: 4 kB / 0.8034 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.4314, allocations: 80.7 kB / 0.8034 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/0.4321, allocations: 171.8 kB / 0.8036 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.4344, allocations: 1.496 MB / 0.8051 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.4351, allocations: 88.25 kB / 0.8051 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.4352, allocations: 35.97 kB / 0.8052 GB, free: 13.65 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.0004426/0.4356, allocations: 287.8 kB / 0.8055 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.4358, allocations: 83.48 kB / 0.8055 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.4385, allocations: 1.089 MB / 0.8066 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4385, allocations: 12 kB / 0.8066 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4385, allocations: 0 / 0.8066 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.4385, allocations: 15.91 kB / 0.8066 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.4419, allocations: 1.739 MB / 0.8083 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4419, allocations: 0 / 0.8083 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.4426, allocations: 151.8 kB / 0.8085 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.4431, allocations: 72.78 kB / 0.8085 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.4431, allocations: 23.98 kB / 0.8086 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.4452, allocations: 1.533 MB / 0.8101 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4452, allocations: 1.188 kB / 0.8101 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.4475, allocations: 1.022 MB / 0.8111 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.4479, allocations: 195.1 kB / 0.8112 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.448, allocations: 19.94 kB / 0.8113 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.4487, allocations: 68.56 kB / 0.8113 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.4489, allocations: 76.84 kB / 0.8114 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.344e-05/0.449, allocations: 35.98 kB / 0.8114 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005838/0.4496, allocations: 439 kB / 0.8119 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4496, allocations: 0 / 0.8119 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009583/0.4505, allocations: 363 kB / 0.8122 GB, free: 6.285 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 (93): * Single equations (assignments): 87 * 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.00217/0.4527, allocations: 0.687 MB / 0.8129 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.4546, allocations: 0.8272 MB / 0.8137 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4546, allocations: 0 / 0.8137 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.4557, allocations: 0.4926 MB / 0.8142 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.457, allocations: 304.7 kB / 0.8145 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.4602, allocations: 1.759 MB / 0.8162 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.4607, allocations: 465.4 kB / 0.8166 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007895/0.4615, allocations: 266.5 kB / 0.8169 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.4618, allocations: 108.5 kB / 0.817 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.4618, allocations: 0 / 0.817 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of Templates: time 0.0288/0.4906, allocations: 15.66 MB / 0.8323 GB, free: 2.238 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.501838065683842] Failed to read output from testmodel.py, exit status != 0: 0.49897320568561554 0.5139609270000001 0.10935468000000001 Calling exit ...