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.001344/0.001344, allocations: 106.8 kB / 16.52 MB, free: 6.656 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.001356/0.001356, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.285/1.285, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.689/0.689, allocations: 115.3 MB / 406.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.91 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3396, allocations: 76.17 MB / 0.5564 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005562/0.3452, allocations: 5.141 MB / 0.5614 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.152/0.4972, allocations: 148.4 MB / 0.7063 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.4984, allocations: 19.88 kB / 0.7064 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.4991, allocations: 154.8 kB / 0.7065 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.5011, allocations: 495 kB / 0.707 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.5033, allocations: 0.746 MB / 0.7077 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002295/0.5056, allocations: 1.354 MB / 0.709 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.5067, allocations: 0.6315 MB / 0.7096 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.5078, allocations: 466.1 kB / 0.7101 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.5085, allocations: 0.5132 MB / 0.7106 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.5086, allocations: 64 kB / 0.7106 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.5099, allocations: 435.6 kB / 0.7111 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.5101, allocations: 258.9 kB / 0.7113 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.5107, allocations: 0.5439 MB / 0.7118 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.5121, allocations: 1.294 MB / 0.7131 GB, free: 3.668 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5121, allocations: 0 / 0.7131 GB, free: 3.668 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5122, allocations: 0 / 0.7131 GB, free: 3.668 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.5122, allocations: 0 / 0.7131 GB, free: 3.668 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.002647/0.5148, allocations: 1.504 MB / 0.7146 GB, free: 2.117 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5149, allocations: 12.03 kB / 0.7146 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.516, allocations: 211.3 kB / 0.7148 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5171, allocations: 0.7615 MB / 0.7155 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.5171, allocations: 74 kB / 0.7156 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.5172, allocations: 88 kB / 0.7157 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.5189, allocations: 1.02 MB / 0.7167 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.519, allocations: 0 / 0.7167 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.831e-05/0.5191, allocations: 44 kB / 0.7167 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.5191, allocations: 20 kB / 0.7167 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.521, allocations: 1.179 MB / 0.7179 GB, free: 14.63 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.004234/0.5252, allocations: 2.966 MB / 0.7208 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.5269, allocations: 0.9123 MB / 0.7217 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.5275, allocations: 318.7 kB / 0.722 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.5281, allocations: 474.1 kB / 0.7224 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009796/0.5291, allocations: 0.5068 MB / 0.7229 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.5291, allocations: 0 / 0.7229 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003565/0.5327, allocations: 1.229 MB / 0.7241 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.5328, allocations: 188.6 kB / 0.7243 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/0.5336, allocations: 0.6488 MB / 0.7249 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.5337, allocations: 45.64 kB / 0.725 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.534, allocations: 424.2 kB / 0.7254 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.5342, allocations: 264.1 kB / 0.7256 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.5345, allocations: 170.5 kB / 0.7258 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5346, allocations: 390.8 kB / 0.7262 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.5352, allocations: 273.8 kB / 0.7264 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.5358, allocations: 375.1 kB / 0.7268 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.537, allocations: 0.6268 MB / 0.7274 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.537, allocations: 3.938 kB / 0.7274 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002007/0.539, allocations: 0.8761 MB / 0.7283 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5391, allocations: 8 kB / 0.7283 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5391, allocations: 3.938 kB / 0.7283 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.5397, allocations: 80.88 kB / 0.7284 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.5404, allocations: 167.8 kB / 0.7285 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.5424, allocations: 1.52 MB / 0.73 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.5432, allocations: 95.38 kB / 0.7301 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.5433, allocations: 39.92 kB / 0.7301 GB, free: 1.535 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.0004658/0.5438, allocations: 276 kB / 0.7304 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.544, allocations: 82.97 kB / 0.7305 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.5464, allocations: 1.109 MB / 0.7316 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5464, allocations: 19.88 kB / 0.7316 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5464, allocations: 0 / 0.7316 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.5465, allocations: 3.984 kB / 0.7316 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.5497, allocations: 1.996 MB / 0.7335 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5498, allocations: 8 kB / 0.7335 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.5504, allocations: 143.8 kB / 0.7337 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/0.5509, allocations: 84.77 kB / 0.7338 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.551, allocations: 23.98 kB / 0.7338 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.5528, allocations: 1.536 MB / 0.7353 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5528, allocations: 7.875 kB / 0.7353 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.5549, allocations: 1.02 MB / 0.7363 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.5553, allocations: 283.6 kB / 0.7366 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.5554, allocations: 23.98 kB / 0.7366 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/0.5561, allocations: 67.92 kB / 0.7366 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.5563, allocations: 76.84 kB / 0.7367 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.5563, allocations: 31.97 kB / 0.7367 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006516/0.557, allocations: 467 kB / 0.7372 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.557, allocations: 0 / 0.7372 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009388/0.558, allocations: 359.1 kB / 0.7375 GB, free: 9.695 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.001388/0.5594, allocations: 0.6285 MB / 0.7381 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.5611, allocations: 0.8509 MB / 0.739 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5611, allocations: 4 kB / 0.739 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.5621, allocations: 0.5198 MB / 0.7395 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5633, allocations: 280.2 kB / 0.7398 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.5666, allocations: 2.236 MB / 0.7419 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.5671, allocations: 1.039 MB / 0.743 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.5675, allocations: 123.4 kB / 0.7431 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.5675, allocations: 0 / 0.7431 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of Templates: time 0.2516/0.8191, allocations: 19.51 MB / 0.7621 GB, free: 169.1 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)