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.001198/0.001198, allocations: 113.8 kB / 17.08 MB, free: 6.008 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.001181/0.001182, allocations: 196.7 kB / 18.01 MB, free: 5.086 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.245/1.245, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6956/0.6956, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 66.27 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00599/0.1217, allocations: 5.139 MB / 0.6377 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.465/0.5868, allocations: 150.7 MB / 0.7849 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008571/0.5876, allocations: 20.41 kB / 0.7849 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.5884, allocations: 204.2 kB / 0.7851 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.5903, allocations: 0.5653 MB / 0.7856 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.5922, allocations: 0.8539 MB / 0.7865 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.5939, allocations: 1.46 MB / 0.7879 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.595, allocations: 0.6643 MB / 0.7886 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.5959, allocations: 0.5215 MB / 0.7891 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.5968, allocations: 0.5582 MB / 0.7896 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003126/0.5972, allocations: 127.1 kB / 0.7897 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.5983, allocations: 499.7 kB / 0.7902 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.5988, allocations: 316.9 kB / 0.7905 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008182/0.5996, allocations: 0.6149 MB / 0.7911 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.6018, allocations: 1.746 MB / 0.7928 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.6018, allocations: 5.953 kB / 0.7928 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6018, allocations: 2.5 kB / 0.7928 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.542e-05/0.6018, allocations: 0 / 0.7928 GB, free: 13.05 MB / 0.5919 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.002695/0.6045, allocations: 1.508 MB / 0.7943 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.6046, allocations: 11.94 kB / 0.7943 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.6061, allocations: 307.9 kB / 0.7946 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.6072, allocations: 0.7835 MB / 0.7954 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.6072, allocations: 74.75 kB / 0.7954 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.795e-05/0.6073, allocations: 95.81 kB / 0.7955 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.6091, allocations: 1.07 MB / 0.7966 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.6091, allocations: 3.125 kB / 0.7966 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.6092, allocations: 42.56 kB / 0.7966 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.6092, allocations: 23.72 kB / 0.7966 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.6112, allocations: 1.267 MB / 0.7979 GB, free: 11.64 MB / 0.5919 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.004156/0.6154, allocations: 2.956 MB / 0.8008 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.6176, allocations: 1.028 MB / 0.8018 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.6183, allocations: 366.4 kB / 0.8021 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.785e-05/0.6184, allocations: 29.11 kB / 0.8021 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009785/0.6194, allocations: 0.5618 MB / 0.8027 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.775e-06/0.6194, allocations: 0 / 0.8027 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003442/0.6229, allocations: 1.381 MB / 0.804 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.623, allocations: 198.9 kB / 0.8042 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/0.6237, allocations: 0.6403 MB / 0.8049 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/0.6237, allocations: 42.2 kB / 0.8049 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.624, allocations: 428.2 kB / 0.8053 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.6242, allocations: 269.9 kB / 0.8056 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.6245, allocations: 166.7 kB / 0.8057 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6246, allocations: 389.5 kB / 0.8061 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.6253, allocations: 323 kB / 0.8064 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/0.6261, allocations: 424.4 kB / 0.8068 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.6275, allocations: 0.713 MB / 0.8075 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6275, allocations: 0 / 0.8075 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002173/0.6297, allocations: 0.9757 MB / 0.8085 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6297, allocations: 4.688 kB / 0.8085 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6297, allocations: 6.172 kB / 0.8085 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005142/0.6302, allocations: 82.77 kB / 0.8085 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.631, allocations: 188.9 kB / 0.8087 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.6329, allocations: 1.619 MB / 0.8103 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009001/0.6338, allocations: 126.1 kB / 0.8104 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.6339, allocations: 37.25 kB / 0.8105 GB, free: 5.938 MB / 0.5919 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.0004573/0.6344, allocations: 281.1 kB / 0.8107 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.6345, allocations: 88.58 kB / 0.8108 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.6372, allocations: 1.197 MB / 0.812 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.6372, allocations: 10.09 kB / 0.812 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6372, allocations: 0 / 0.812 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.6372, allocations: 7.969 kB / 0.812 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.6407, allocations: 2.138 MB / 0.8141 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6407, allocations: 0 / 0.8141 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.6414, allocations: 170.4 kB / 0.8142 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/0.6418, allocations: 82.36 kB / 0.8143 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/0.6418, allocations: 27.78 kB / 0.8144 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.6436, allocations: 1.653 MB / 0.816 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6436, allocations: 0 / 0.816 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.646, allocations: 1.121 MB / 0.8171 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.6464, allocations: 277.9 kB / 0.8173 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6465, allocations: 28.52 kB / 0.8174 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.6473, allocations: 80.28 kB / 0.8174 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.6474, allocations: 76.02 kB / 0.8175 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.641e-05/0.6475, allocations: 44.88 kB / 0.8175 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005257/0.648, allocations: 466 kB / 0.818 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.473e-06/0.6481, allocations: 0 / 0.818 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008834/0.6489, allocations: 356.9 kB / 0.8183 GB, free: 0.6406 MB / 0.5919 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.001224/0.6502, allocations: 0.6081 MB / 0.8189 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.6522, allocations: 0.9508 MB / 0.8199 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6522, allocations: 0 / 0.8199 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.6533, allocations: 0.5815 MB / 0.8204 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6545, allocations: 299.7 kB / 0.8207 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.6575, allocations: 1.826 MB / 0.8225 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.658, allocations: 1.048 MB / 0.8235 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.6584, allocations: 119.3 kB / 0.8236 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.6584, allocations: 3.031 kB / 0.8236 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of Templates: time 0.0235/0.6819, allocations: 19.99 MB / 0.8432 GB, free: 11.65 MB / 0.6231 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)