Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008994, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000858/0.0008581, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7041/0.7041, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 8 kB / 495.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2103, allocations: 77.54 MB / 0.56 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.009866/0.2202, allocations: 4.719 MB / 0.5646 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5508/0.771, allocations: 146.8 MB / 0.7079 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.7718, allocations: 19.88 kB / 0.7079 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.7724, allocations: 150.8 kB / 0.7081 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.7739, allocations: 489.6 kB / 0.7085 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.7758, allocations: 0.7419 MB / 0.7092 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.777, allocations: 1.358 MB / 0.7106 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.7779, allocations: 0.633 MB / 0.7112 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.7784, allocations: 374.2 kB / 0.7115 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.779, allocations: 421.6 kB / 0.712 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.7791, allocations: 28 kB / 0.712 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006698/0.7797, allocations: 363.7 kB / 0.7123 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.7801, allocations: 199 kB / 0.7125 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.7807, allocations: 0.5025 MB / 0.713 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.7822, allocations: 1.596 MB / 0.7146 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7822, allocations: 0 / 0.7146 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7823, allocations: 0 / 0.7146 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.7823, allocations: 4 kB / 0.7146 GB, free: 8.387 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002349/0.7846, allocations: 1.279 MB / 0.7158 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7847, allocations: 12.03 kB / 0.7158 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.7864, allocations: 323 kB / 0.7161 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.7874, allocations: 0.7579 MB / 0.7169 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.7875, allocations: 74 kB / 0.7169 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.7876, allocations: 91.98 kB / 0.717 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.7897, allocations: 1.078 MB / 0.7181 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.7897, allocations: 3.938 kB / 0.7181 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.7898, allocations: 36 kB / 0.7181 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.7898, allocations: 24 kB / 0.7181 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.7921, allocations: 1.284 MB / 0.7194 GB, free: 3.309 MB / 0.5294 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.004521/0.7967, allocations: 3.002 MB / 0.7223 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.7993, allocations: 1.035 MB / 0.7233 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007985/0.8001, allocations: 372 kB / 0.7237 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-05/0.8002, allocations: 24.62 kB / 0.7237 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.8013, allocations: 0.5723 MB / 0.7243 GB, free: 14.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 2.424e-06/0.8013, allocations: 0 / 0.7243 GB, free: 14.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.003867/0.8052, allocations: 1.395 MB / 0.7256 GB, free: 12.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.8053, allocations: 192.9 kB / 0.7258 GB, free: 12.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/0.8061, allocations: 0.6449 MB / 0.7265 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.8062, allocations: 45.7 kB / 0.7265 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.8065, allocations: 424.2 kB / 0.7269 GB, free: 11.37 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.8067, allocations: 276 kB / 0.7272 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.8068, allocations: 65.69 kB / 0.7272 GB, free: 11.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.807, allocations: 394.7 kB / 0.7276 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007811/0.8078, allocations: 329.8 kB / 0.7279 GB, free: 10.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.8086, allocations: 423.1 kB / 0.7283 GB, free: 9.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.8102, allocations: 0.7218 MB / 0.729 GB, free: 9.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8102, allocations: 4 kB / 0.729 GB, free: 9.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002354/0.8126, allocations: 0.9814 MB / 0.73 GB, free: 8.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.8126, allocations: 4 kB / 0.73 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.8126, allocations: 0 / 0.73 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/0.8132, allocations: 84.88 kB / 0.7301 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.8141, allocations: 187.7 kB / 0.7303 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.816, allocations: 1.531 MB / 0.7318 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/0.8169, allocations: 131.3 kB / 0.7319 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.817, allocations: 37.53 kB / 0.7319 GB, free: 6.043 MB / 0.545 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 (98): * Single equations (assignments): 97 * 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.0004253/0.8174, allocations: 275.4 kB / 0.7322 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.8176, allocations: 86.95 kB / 0.7323 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.8205, allocations: 1.211 MB / 0.7334 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.8206, allocations: 15.92 kB / 0.7335 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8206, allocations: 0 / 0.7335 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.8206, allocations: 3.984 kB / 0.7335 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.8243, allocations: 2.149 MB / 0.7356 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8243, allocations: 0 / 0.7356 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.8251, allocations: 179.8 kB / 0.7357 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005036/0.8256, allocations: 80.78 kB / 0.7358 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.8257, allocations: 35.91 kB / 0.7358 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.8275, allocations: 1.544 MB / 0.7373 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8275, allocations: 0 / 0.7373 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.8299, allocations: 1.129 MB / 0.7385 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.8303, allocations: 291.6 kB / 0.7387 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.8304, allocations: 20 kB / 0.7387 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/0.8313, allocations: 113.4 kB / 0.7389 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.8314, allocations: 72.89 kB / 0.7389 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/0.8315, allocations: 39.97 kB / 0.739 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006346/0.8322, allocations: 467 kB / 0.7394 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8322, allocations: 3.938 kB / 0.7394 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009796/0.8332, allocations: 339.2 kB / 0.7397 GB, free: 13.77 MB / 0.5606 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 (97): * Single equations (assignments): 91 * 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.001482/0.8347, allocations: 0.6125 MB / 0.7403 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.8369, allocations: 0.9562 MB / 0.7413 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8369, allocations: 0 / 0.7413 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.8381, allocations: 0.5822 MB / 0.7418 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.8394, allocations: 280.2 kB / 0.7421 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.8429, allocations: 2.284 MB / 0.7443 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.8435, allocations: 1.055 MB / 0.7454 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008874/0.8444, allocations: 278.9 kB / 0.7456 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.8447, allocations: 111.4 kB / 0.7457 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.8447, allocations: 0 / 0.7457 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of Templates: time 0.02513/0.8699, allocations: 15.11 MB / 0.7605 GB, free: 8.828 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)