Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001542/0.001543, allocations: 102.6 kB / 15.98 MB, free: 6.77 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.001825/0.001825, allocations: 192.6 kB / 16.9 MB, free: 6.559 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.765/0.765, allocations: 122.9 MB / 413.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 64.83 kB / 0.4906 GB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1847, allocations: 77.94 MB / 0.5667 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006838/0.1916, allocations: 5.136 MB / 0.5718 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4916/0.6833, allocations: 148.5 MB / 0.7168 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008345/0.6841, allocations: 15.94 kB / 0.7168 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007263/0.6849, allocations: 158.8 kB / 0.7169 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.6869, allocations: 0.4988 MB / 0.7174 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.689, allocations: 0.7705 MB / 0.7182 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.6908, allocations: 1.452 MB / 0.7196 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000958/0.6918, allocations: 0.6514 MB / 0.7202 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.6925, allocations: 0.5201 MB / 0.7207 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.6931, allocations: 0.5484 MB / 0.7213 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.6933, allocations: 124 kB / 0.7214 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008496/0.6942, allocations: 491.7 kB / 0.7219 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.6944, allocations: 318.9 kB / 0.7222 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.6949, allocations: 0.6064 MB / 0.7228 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.6967, allocations: 1.714 MB / 0.7244 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6967, allocations: 0 / 0.7244 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6967, allocations: 0 / 0.7244 GB, free: 6.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.6968, allocations: 0 / 0.7244 GB, free: 6.094 MB / 0.545 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.002514/0.6993, allocations: 1.505 MB / 0.7259 GB, free: 4.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6993, allocations: 8.031 kB / 0.7259 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.7004, allocations: 223.2 kB / 0.7261 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.7014, allocations: 0.7619 MB / 0.7269 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.7015, allocations: 70 kB / 0.7269 GB, free: 3.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.7016, allocations: 92 kB / 0.727 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.7033, allocations: 1.016 MB / 0.728 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.7033, allocations: 4 kB / 0.728 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.7034, allocations: 40 kB / 0.7281 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.7034, allocations: 27.38 kB / 0.7281 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.7053, allocations: 1.175 MB / 0.7292 GB, free: 1.055 MB / 0.545 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.004035/0.7094, allocations: 2.957 MB / 0.7321 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.711, allocations: 0.9213 MB / 0.733 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.7115, allocations: 314.7 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/0.7121, allocations: 474.1 kB / 0.7338 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009055/0.7131, allocations: 0.5106 MB / 0.7343 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.254e-06/0.7131, allocations: 0 / 0.7343 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003214/0.7163, allocations: 1.229 MB / 0.7355 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.7164, allocations: 192.5 kB / 0.7357 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.7171, allocations: 0.645 MB / 0.7363 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.7172, allocations: 41.7 kB / 0.7363 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.7175, allocations: 428.1 kB / 0.7367 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.7177, allocations: 272.1 kB / 0.737 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.7179, allocations: 166.5 kB / 0.7371 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7181, allocations: 386.8 kB / 0.7375 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.7187, allocations: 273.8 kB / 0.7378 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.7193, allocations: 383 kB / 0.7381 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.7204, allocations: 0.6268 MB / 0.7388 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7205, allocations: 0 / 0.7388 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001938/0.7224, allocations: 0.8761 MB / 0.7396 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.7224, allocations: 13.81 kB / 0.7396 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7224, allocations: 0 / 0.7396 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.723, allocations: 76.88 kB / 0.7397 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.7237, allocations: 167.8 kB / 0.7399 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.7257, allocations: 1.632 MB / 0.7415 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.7264, allocations: 107.8 kB / 0.7416 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.7265, allocations: 43.91 kB / 0.7416 GB, free: 3.844 MB / 0.5606 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.0003861/0.7269, allocations: 267.4 kB / 0.7419 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.7271, allocations: 90.95 kB / 0.7419 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.7294, allocations: 1.09 MB / 0.743 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7295, allocations: 8 kB / 0.743 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7295, allocations: 4 kB / 0.743 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.7295, allocations: 7.969 kB / 0.743 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.7326, allocations: 2 MB / 0.745 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7326, allocations: 0 / 0.745 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.7332, allocations: 151.8 kB / 0.7451 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/0.7336, allocations: 68.8 kB / 0.7452 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/0.7337, allocations: 31.97 kB / 0.7452 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.7356, allocations: 1.662 MB / 0.7468 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7356, allocations: 0 / 0.7468 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.7377, allocations: 1.023 MB / 0.7478 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.7381, allocations: 279.7 kB / 0.7481 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.7382, allocations: 23.94 kB / 0.7481 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006926/0.7389, allocations: 71.83 kB / 0.7482 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.7391, allocations: 68.91 kB / 0.7483 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.7392, allocations: 39.97 kB / 0.7483 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006009/0.7398, allocations: 463 kB / 0.7487 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7398, allocations: 4 kB / 0.7487 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009582/0.7408, allocations: 355.1 kB / 0.7491 GB, free: 11.91 MB / 0.5762 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.001363/0.7422, allocations: 0.6203 MB / 0.7497 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002387/0.7446, allocations: 1.062 MB / 0.7507 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7446, allocations: 4 kB / 0.7507 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009176/0.7455, allocations: 0.5275 MB / 0.7512 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.7468, allocations: 301.7 kB / 0.7515 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.7498, allocations: 2.191 MB / 0.7537 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.7504, allocations: 1.047 MB / 0.7547 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008111/0.7512, allocations: 270.7 kB / 0.755 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.7515, allocations: 111.4 kB / 0.7551 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.7515, allocations: 4 kB / 0.7551 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of Templates: time 0.02298/0.7745, allocations: 15.66 MB / 0.7704 GB, free: 6.441 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)