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.001691/0.001692, allocations: 100.1 kB / 15.88 MB, free: 12 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.001778/0.001778, allocations: 206.5 kB / 16.79 MB, free: 6.84 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.448/1.448, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8073/0.8073, allocations: 122.9 MB / 413.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.03 kB / 0.4904 GB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.163, allocations: 77.93 MB / 0.5666 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008094/0.1711, allocations: 5.15 MB / 0.5716 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4733/0.6445, allocations: 148.4 MB / 0.7165 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.6458, allocations: 19.88 kB / 0.7165 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.6465, allocations: 161.1 kB / 0.7167 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.6486, allocations: 495.4 kB / 0.7172 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.651, allocations: 0.7438 MB / 0.7179 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.6529, allocations: 1.35 MB / 0.7192 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.654, allocations: 0.6495 MB / 0.7198 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008036/0.6548, allocations: 454.2 kB / 0.7203 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006004/0.6554, allocations: 0.5094 MB / 0.7208 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.6555, allocations: 64 kB / 0.7208 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.6566, allocations: 434.1 kB / 0.7212 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.6569, allocations: 255 kB / 0.7215 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006761/0.6576, allocations: 0.5435 MB / 0.722 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.6597, allocations: 1.659 MB / 0.7236 GB, free: 6.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.6597, allocations: 0 / 0.7236 GB, free: 6.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6597, allocations: 0 / 0.7236 GB, free: 6.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.6598, allocations: 0 / 0.7236 GB, free: 6.844 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.003022/0.6628, allocations: 1.508 MB / 0.7251 GB, free: 5.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.6629, allocations: 16.03 kB / 0.7251 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.664, allocations: 211.2 kB / 0.7253 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.6652, allocations: 0.762 MB / 0.7261 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/0.6652, allocations: 70 kB / 0.7261 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.6654, allocations: 92 kB / 0.7262 GB, free: 4.105 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.6674, allocations: 1.013 MB / 0.7272 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.6675, allocations: 3.938 kB / 0.7272 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.6675, allocations: 40 kB / 0.7272 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.6676, allocations: 24 kB / 0.7273 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.6695, allocations: 1.179 MB / 0.7284 GB, free: 1.809 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.004732/0.6743, allocations: 2.972 MB / 0.7313 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.676, allocations: 0.9105 MB / 0.7322 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.6766, allocations: 315.2 kB / 0.7325 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.6773, allocations: 474.1 kB / 0.733 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.6784, allocations: 0.5039 MB / 0.7335 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.835e-06/0.6784, allocations: 0 / 0.7335 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003507/0.6819, allocations: 1.233 MB / 0.7347 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.682, allocations: 192.5 kB / 0.7348 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008864/0.6829, allocations: 0.6411 MB / 0.7355 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-05/0.683, allocations: 45.7 kB / 0.7355 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.6834, allocations: 428.1 kB / 0.7359 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.6837, allocations: 264.2 kB / 0.7362 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.6839, allocations: 170.5 kB / 0.7363 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.6841, allocations: 382.8 kB / 0.7367 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.6847, allocations: 277.8 kB / 0.737 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.6854, allocations: 379 kB / 0.7373 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.6866, allocations: 0.6268 MB / 0.7379 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6866, allocations: 3.984 kB / 0.7379 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002115/0.6887, allocations: 0.872 MB / 0.7388 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.6888, allocations: 7.938 kB / 0.7388 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6888, allocations: 5.125 kB / 0.7388 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.6894, allocations: 80.88 kB / 0.7389 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.6902, allocations: 171.7 kB / 0.7391 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.6924, allocations: 1.52 MB / 0.7405 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009001/0.6933, allocations: 103.3 kB / 0.7406 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/0.6934, allocations: 43.91 kB / 0.7407 GB, free: 4.719 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.0005673/0.694, allocations: 275.3 kB / 0.7409 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.6941, allocations: 82.97 kB / 0.741 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.6967, allocations: 1.101 MB / 0.7421 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.6967, allocations: 8 kB / 0.7421 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6967, allocations: 3.938 kB / 0.7421 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6968, allocations: 3.984 kB / 0.7421 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.7003, allocations: 2.004 MB / 0.7441 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7004, allocations: 4 kB / 0.7441 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.701, allocations: 147.8 kB / 0.7442 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.7015, allocations: 84.77 kB / 0.7443 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.7016, allocations: 23.98 kB / 0.7443 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.7035, allocations: 1.536 MB / 0.7458 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7035, allocations: 0 / 0.7458 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.7058, allocations: 1.023 MB / 0.7468 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.7063, allocations: 279.7 kB / 0.7471 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.7064, allocations: 23.94 kB / 0.7471 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.7071, allocations: 74.11 kB / 0.7472 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.7073, allocations: 68.91 kB / 0.7472 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.7074, allocations: 36.11 kB / 0.7473 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006408/0.708, allocations: 467 kB / 0.7477 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7081, allocations: 0 / 0.7477 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001124/0.7092, allocations: 359 kB / 0.7481 GB, free: 12.9 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.001566/0.7108, allocations: 0.628 MB / 0.7487 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.7127, allocations: 0.8514 MB / 0.7495 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7127, allocations: 4 kB / 0.7495 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.7138, allocations: 0.5236 MB / 0.75 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.7152, allocations: 276.6 kB / 0.7503 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.7193, allocations: 2.2 MB / 0.7524 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.7201, allocations: 1.051 MB / 0.7535 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001007/0.7211, allocations: 266.8 kB / 0.7537 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.7214, allocations: 103.4 kB / 0.7538 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of SimCode: time 9.51e-07/0.7214, allocations: 0 / 0.7538 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of Templates: time 0.03013/0.7515, allocations: 15.12 MB / 0.7686 GB, free: 8.184 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)