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.001286/0.001286, allocations: 116.7 kB / 17.09 MB, free: 5.992 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.001311/0.001312, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.234/1.234, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6734/0.6734, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 65.64 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006195/0.1327, allocations: 5.151 MB / 0.6378 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4702/0.6029, allocations: 150.7 MB / 0.7849 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008556/0.6038, allocations: 24.69 kB / 0.7849 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.6044, allocations: 202.3 kB / 0.7851 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.6061, allocations: 0.5588 MB / 0.7857 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.6081, allocations: 0.8655 MB / 0.7865 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.6094, allocations: 1.448 MB / 0.7879 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008576/0.6103, allocations: 0.6586 MB / 0.7886 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007702/0.6111, allocations: 0.5191 MB / 0.7891 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.6117, allocations: 0.548 MB / 0.7896 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.6119, allocations: 124.7 kB / 0.7897 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009308/0.6128, allocations: 0.5075 MB / 0.7902 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.6131, allocations: 316.5 kB / 0.7905 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.6136, allocations: 0.6069 MB / 0.7911 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.6153, allocations: 1.753 MB / 0.7928 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6153, allocations: 0 / 0.7928 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6153, allocations: 0 / 0.7928 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.6153, 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002274/0.6176, allocations: 1.512 MB / 0.7943 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.6176, allocations: 9.969 kB / 0.7943 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6186, allocations: 217.5 kB / 0.7945 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.6196, allocations: 0.7806 MB / 0.7953 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.6197, allocations: 76.03 kB / 0.7954 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.6198, allocations: 93.69 kB / 0.7955 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.6214, allocations: 1.01 MB / 0.7965 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.6215, allocations: 3.406 kB / 0.7965 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.6215, allocations: 40 kB / 0.7965 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.6216, allocations: 23.94 kB / 0.7965 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.6233, allocations: 1.183 MB / 0.7977 GB, free: 11.63 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.003735/0.627, allocations: 2.939 MB / 0.8005 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.6285, allocations: 0.915 MB / 0.8014 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.629, allocations: 319.5 kB / 0.8017 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000652/0.6297, allocations: 471.5 kB / 0.8022 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008095/0.6305, allocations: 0.5091 MB / 0.8027 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/0.6305, allocations: 0 / 0.8027 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003/0.6335, allocations: 1.227 MB / 0.8039 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.6337, allocations: 198.7 kB / 0.8041 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/0.6344, allocations: 0.636 MB / 0.8047 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.6345, allocations: 52.09 kB / 0.8047 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.6348, allocations: 424.3 kB / 0.8052 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.635, allocations: 267.4 kB / 0.8054 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.6352, allocations: 163.7 kB / 0.8056 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6353, allocations: 390.8 kB / 0.8059 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.6359, allocations: 278.7 kB / 0.8062 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.6365, allocations: 375 kB / 0.8066 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6375, allocations: 0.6255 MB / 0.8072 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6375, allocations: 0 / 0.8072 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001839/0.6394, allocations: 0.8733 MB / 0.808 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6394, allocations: 10.19 kB / 0.808 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6394, allocations: 6.875 kB / 0.808 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.64, allocations: 82.3 kB / 0.8081 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.6406, allocations: 165.1 kB / 0.8083 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.6425, allocations: 1.635 MB / 0.8099 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.6432, allocations: 97.97 kB / 0.81 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.6433, allocations: 41.78 kB / 0.81 GB, free: 5.66 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 (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.0004773/0.6438, allocations: 270.9 kB / 0.8103 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.644, allocations: 87.36 kB / 0.8103 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.6462, allocations: 1.097 MB / 0.8114 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6463, allocations: 13.47 kB / 0.8114 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6463, allocations: 0 / 0.8114 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.6463, allocations: 7.969 kB / 0.8114 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.6494, allocations: 2 MB / 0.8134 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6494, allocations: 6.938 kB / 0.8134 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.65, allocations: 152.9 kB / 0.8135 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.6504, allocations: 70.55 kB / 0.8136 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.6505, allocations: 27.72 kB / 0.8136 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.6522, allocations: 1.656 MB / 0.8153 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6522, allocations: 0 / 0.8153 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.6542, allocations: 1.024 MB / 0.8163 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.6546, allocations: 275.6 kB / 0.8165 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.6547, allocations: 21.41 kB / 0.8165 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.6554, allocations: 64.41 kB / 0.8166 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6556, allocations: 76.23 kB / 0.8167 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.6556, allocations: 38.5 kB / 0.8167 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005591/0.6562, allocations: 464 kB / 0.8172 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6562, allocations: 2.312 kB / 0.8172 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009861/0.6572, allocations: 359.8 kB / 0.8175 GB, free: 0.6641 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 (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.001369/0.6586, allocations: 0.6208 MB / 0.8181 GB, free: 400 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.6604, allocations: 0.8496 MB / 0.8189 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6604, allocations: 6.281 kB / 0.8189 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.6614, allocations: 0.5299 MB / 0.8195 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6627, allocations: 303.2 kB / 0.8197 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.6658, allocations: 1.758 MB / 0.8215 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.6664, allocations: 1.041 MB / 0.8225 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.6668, allocations: 120 kB / 0.8226 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.6668, allocations: 0 / 0.8226 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of Templates: time 0.02576/0.6926, allocations: 19.78 MB / 0.8419 GB, free: 12.85 MB / 0.6231 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)