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.000842/0.0008421, allocations: 90.45 kB / 16.67 MB, free: 6.586 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.0009182/0.0009184, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.331/1.331, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7617/0.7617, allocations: 115.5 MB / 408.2 MB, free: 7.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.000428, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3962, allocations: 77.52 MB / 0.5606 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005384/0.4017, allocations: 4.721 MB / 0.5652 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.167/0.5688, allocations: 146.8 MB / 0.7086 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.5703, allocations: 15.94 kB / 0.7086 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5713, allocations: 154.8 kB / 0.7087 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.574, allocations: 489.1 kB / 0.7092 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.5766, allocations: 0.7508 MB / 0.7099 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002319/0.5789, allocations: 1.35 MB / 0.7112 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.5803, allocations: 0.6237 MB / 0.7119 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008995/0.5812, allocations: 378.2 kB / 0.7122 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009149/0.5821, allocations: 409.7 kB / 0.7126 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.5824, allocations: 24 kB / 0.7126 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.5836, allocations: 391.6 kB / 0.713 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.584, allocations: 202.9 kB / 0.7132 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000834/0.5849, allocations: 0.4909 MB / 0.7137 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.587, allocations: 1.255 MB / 0.7149 GB, free: 4.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.587, allocations: 12 kB / 0.7149 GB, free: 4.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.058e-06/0.5871, allocations: 0 / 0.7149 GB, free: 4.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.813e-05/0.5871, allocations: 0 / 0.7149 GB, free: 4.805 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.003648/0.5908, allocations: 1.27 MB / 0.7162 GB, free: 3.488 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.5909, allocations: 20.02 kB / 0.7162 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.5924, allocations: 219.3 kB / 0.7164 GB, free: 3.254 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.5941, allocations: 0.7577 MB / 0.7171 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/0.5942, allocations: 73.98 kB / 0.7172 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.5945, allocations: 88 kB / 0.7173 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.5967, allocations: 1.02 MB / 0.7183 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.5967, allocations: 3.938 kB / 0.7183 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.5969, allocations: 47.94 kB / 0.7183 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.5969, allocations: 28 kB / 0.7183 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.599, allocations: 1.179 MB / 0.7195 GB, free: 15.98 MB / 0.5606 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.005147/0.6042, allocations: 3.002 MB / 0.7224 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.606, allocations: 0.9239 MB / 0.7233 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.6067, allocations: 323.4 kB / 0.7236 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006771/0.6074, allocations: 474.1 kB / 0.7241 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009894/0.6084, allocations: 0.5031 MB / 0.7246 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.347e-06/0.6084, allocations: 0 / 0.7246 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003444/0.6119, allocations: 1.252 MB / 0.7258 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.612, allocations: 188.6 kB / 0.726 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/0.613, allocations: 0.6411 MB / 0.7266 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/0.6131, allocations: 41.7 kB / 0.7267 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.6135, allocations: 424.2 kB / 0.7271 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.6138, allocations: 268.2 kB / 0.7273 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.6139, allocations: 73.67 kB / 0.7274 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6141, allocations: 386.8 kB / 0.7278 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.6147, allocations: 281.8 kB / 0.728 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.6154, allocations: 383 kB / 0.7284 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6166, allocations: 0.6346 MB / 0.729 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6166, allocations: 0 / 0.729 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002123/0.6187, allocations: 0.8878 MB / 0.7299 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6188, allocations: 4 kB / 0.7299 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6188, allocations: 0 / 0.7299 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/0.6194, allocations: 84.88 kB / 0.73 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.6201, allocations: 171.7 kB / 0.7301 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.6223, allocations: 1.527 MB / 0.7316 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000893/0.6232, allocations: 116.6 kB / 0.7317 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/0.6233, allocations: 31.98 kB / 0.7318 GB, free: 2.871 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.0005491/0.6239, allocations: 279.3 kB / 0.732 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.6241, allocations: 79.06 kB / 0.7321 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.6267, allocations: 1.12 MB / 0.7332 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.6267, allocations: 16.02 kB / 0.7332 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6268, allocations: 4 kB / 0.7332 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6268, allocations: 3.984 kB / 0.7332 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.6305, allocations: 2.004 MB / 0.7352 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6305, allocations: 0 / 0.7352 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.6311, allocations: 155.8 kB / 0.7353 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.6317, allocations: 84.77 kB / 0.7354 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.6318, allocations: 27.98 kB / 0.7354 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.6336, allocations: 1.536 MB / 0.7369 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6337, allocations: 3.938 kB / 0.7369 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.636, allocations: 1.031 MB / 0.7379 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.6366, allocations: 299.5 kB / 0.7382 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.6368, allocations: 20 kB / 0.7382 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/0.6376, allocations: 84.73 kB / 0.7383 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.6378, allocations: 68.89 kB / 0.7384 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.6378, allocations: 35.98 kB / 0.7384 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006662/0.6385, allocations: 467 kB / 0.7389 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6385, allocations: 0 / 0.7389 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001023/0.6396, allocations: 351.2 kB / 0.7392 GB, free: 10.97 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.001465/0.641, allocations: 0.6357 MB / 0.7398 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.6429, allocations: 0.8665 MB / 0.7407 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.643, allocations: 0 / 0.7407 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.644, allocations: 0.5315 MB / 0.7412 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.6456, allocations: 277.5 kB / 0.7415 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.6492, allocations: 2.255 MB / 0.7437 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.65, allocations: 1.044 MB / 0.7447 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.6504, allocations: 119.4 kB / 0.7448 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.6504, allocations: 0 / 0.7448 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of Templates: time 0.2901/0.9405, allocations: 19.38 MB / 0.7637 GB, free: 168.5 MB / 0.5762 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)