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.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.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005227/0.005227, allocations: 98.23 kB / 15.73 MB, free: 6.012 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.001185/0.001185, allocations: 196.7 kB / 16.67 MB, free: 5.93 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002264/0.002264, allocations: 288.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9259/0.9259, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 96.19 kB / 0.6814 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4191, allocations: 86.97 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00651/0.4257, allocations: 4.42 MB / 0.7707 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1473/0.573, allocations: 150.6 MB / 0.9178 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/0.5737, allocations: 19.88 kB / 0.9178 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.5744, allocations: 178.3 kB / 0.918 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.576, allocations: 0.5121 MB / 0.9185 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.578, allocations: 0.8679 MB / 0.9193 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.5793, allocations: 1.324 MB / 0.9206 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008684/0.5802, allocations: 0.7103 MB / 0.9213 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.5807, allocations: 0.4944 MB / 0.9218 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.5812, allocations: 0.5327 MB / 0.9223 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.5814, allocations: 124 kB / 0.9224 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008068/0.5822, allocations: 0.5074 MB / 0.9229 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.5824, allocations: 315 kB / 0.9232 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.5829, allocations: 0.5829 MB / 0.9238 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.5845, allocations: 1.712 MB / 0.9255 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5845, allocations: 3.938 kB / 0.9255 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5845, allocations: 0 / 0.9255 GB, free: 348 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.5845, allocations: 0 / 0.9255 GB, free: 348 kB / 0.6856 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.002279/0.5868, allocations: 1.485 MB / 0.9269 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.5868, allocations: 8.031 kB / 0.9269 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.5879, allocations: 215.2 kB / 0.9271 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.589, allocations: 0.785 MB / 0.9279 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.589, allocations: 77.98 kB / 0.928 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5891, allocations: 88 kB / 0.9281 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.5908, allocations: 1.012 MB / 0.929 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.5908, allocations: 0 / 0.929 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.5909, allocations: 43.94 kB / 0.9291 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.5909, allocations: 24 kB / 0.9291 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.5928, allocations: 1.179 MB / 0.9303 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.5966, allocations: 2.667 MB / 0.9329 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.5982, allocations: 0.9107 MB / 0.9338 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.5988, allocations: 306.7 kB / 0.934 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.5994, allocations: 474.1 kB / 0.9345 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008667/0.6003, allocations: 0.503 MB / 0.935 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.054e-06/0.6003, allocations: 0 / 0.935 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.00322/0.6035, allocations: 1.229 MB / 0.9362 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/0.6036, allocations: 188.6 kB / 0.9364 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000728/0.6043, allocations: 0.641 MB / 0.937 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.6044, allocations: 49.69 kB / 0.937 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.6047, allocations: 424.2 kB / 0.9374 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.6049, allocations: 268.2 kB / 0.9377 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.6052, allocations: 166.4 kB / 0.9379 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6053, allocations: 390.7 kB / 0.9382 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/0.6059, allocations: 277.8 kB / 0.9385 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.6066, allocations: 375 kB / 0.9389 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.6078, allocations: 0.6229 MB / 0.9395 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6078, allocations: 0 / 0.9395 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001952/0.6098, allocations: 0.8761 MB / 0.9403 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6098, allocations: 8 kB / 0.9403 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6098, allocations: 0 / 0.9403 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/0.6104, allocations: 80.86 kB / 0.9404 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/0.6111, allocations: 167.8 kB / 0.9406 GB, free: 396 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.6131, allocations: 1.619 MB / 0.9421 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.6138, allocations: 105.7 kB / 0.9422 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.6139, allocations: 36.16 kB / 0.9423 GB, free: 14.48 MB / 0.7169 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.0004287/0.6143, allocations: 277.8 kB / 0.9425 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.6145, allocations: 82.97 kB / 0.9426 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.6169, allocations: 1.101 MB / 0.9437 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.6169, allocations: 8 kB / 0.9437 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.6169, allocations: 0 / 0.9437 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.617, allocations: 3.984 kB / 0.9437 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.6202, allocations: 2.006 MB / 0.9457 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6202, allocations: 4 kB / 0.9457 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.6208, allocations: 155.8 kB / 0.9458 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.6212, allocations: 76.73 kB / 0.9459 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.6213, allocations: 27.97 kB / 0.9459 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.6231, allocations: 1.65 MB / 0.9475 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6231, allocations: 0 / 0.9475 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.6251, allocations: 1.029 MB / 0.9485 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.6255, allocations: 267.7 kB / 0.9488 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.6256, allocations: 27.98 kB / 0.9488 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/0.6263, allocations: 59.94 kB / 0.9489 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.6264, allocations: 68.89 kB / 0.9489 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.6265, allocations: 47.84 kB / 0.949 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005269/0.6271, allocations: 467 kB / 0.9494 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6271, allocations: 3.938 kB / 0.9494 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008004/0.6279, allocations: 347 kB / 0.9498 GB, free: 6.547 MB / 0.7169 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.001263/0.6291, allocations: 0.6123 MB / 0.9504 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.6308, allocations: 0.8468 MB / 0.9512 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6309, allocations: 4 kB / 0.9512 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.6318, allocations: 0.5277 MB / 0.9517 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.633, allocations: 305.4 kB / 0.952 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.6367, allocations: 1.813 MB / 0.9538 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.6373, allocations: 1.054 MB / 0.9548 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00074/0.638, allocations: 270.6 kB / 0.9551 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.6383, allocations: 107.4 kB / 0.9552 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6383, allocations: 0 / 0.9552 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of Templates: time 0.3281/0.9664, allocations: 15.41 MB / 0.9702 GB, free: 182.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (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)