Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001327, allocations: 106.9 kB / 16.4 MB, free: 6.496 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.001333/0.001333, allocations: 197.2 kB / 17.34 MB, free: 5.766 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7991/0.7991, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 65.89 kB / 0.5577 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1479, allocations: 76.18 MB / 0.6321 GB, free: 4.551 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007513/0.1555, allocations: 5.941 MB / 0.6379 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5614/0.7169, allocations: 150.8 MB / 0.7852 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.718, allocations: 25.41 kB / 0.7852 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.7187, allocations: 237.1 kB / 0.7854 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.7206, allocations: 0.6217 MB / 0.786 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.7227, allocations: 0.8714 MB / 0.7869 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.7247, allocations: 1.658 MB / 0.7885 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.7259, allocations: 0.8617 MB / 0.7893 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.727, allocations: 0.6166 MB / 0.7899 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007442/0.7277, allocations: 0.654 MB / 0.7906 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.728, allocations: 154 kB / 0.7907 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.729, allocations: 0.5237 MB / 0.7912 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.7293, allocations: 372.4 kB / 0.7916 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005279/0.7298, allocations: 0.7406 MB / 0.7923 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002/0.7318, allocations: 2.025 MB / 0.7943 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.7318, allocations: 0 / 0.7943 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7319, allocations: 3.938 kB / 0.7943 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.272e-05/0.7319, allocations: 0 / 0.7943 GB, free: 12.59 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003264/0.7352, allocations: 1.717 MB / 0.796 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7352, allocations: 9.75 kB / 0.796 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.7361, allocations: 217.1 kB / 0.7962 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.7374, allocations: 0.8683 MB / 0.797 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.232e-05/0.7375, allocations: 94.09 kB / 0.7971 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.7377, allocations: 113.9 kB / 0.7972 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.7396, allocations: 1.203 MB / 0.7984 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.7396, allocations: 5.031 kB / 0.7984 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.7397, allocations: 53.5 kB / 0.7984 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.7398, allocations: 27.38 kB / 0.7985 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.7417, allocations: 1.281 MB / 0.7997 GB, free: 11.02 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.004886/0.7466, allocations: 3.549 MB / 0.8032 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.7481, allocations: 0.865 MB / 0.804 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.7487, allocations: 326.1 kB / 0.8043 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.708e-05/0.7488, allocations: 27.95 kB / 0.8044 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008768/0.7496, allocations: 0.5185 MB / 0.8049 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 3.246e-06/0.7497, allocations: 4 kB / 0.8049 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.003264/0.7529, allocations: 1.289 MB / 0.8061 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.7531, allocations: 191.3 kB / 0.8063 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009801/0.754, allocations: 0.7328 MB / 0.807 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.369e-05/0.7541, allocations: 41.36 kB / 0.8071 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/0.7546, allocations: 0.5111 MB / 0.8076 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.7549, allocations: 287.5 kB / 0.8079 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.7552, allocations: 173.8 kB / 0.808 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7553, allocations: 343.2 kB / 0.8083 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005315/0.7559, allocations: 293.5 kB / 0.8086 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.7566, allocations: 391.7 kB / 0.809 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.7578, allocations: 0.6584 MB / 0.8096 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7578, allocations: 112 / 0.8096 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00204/0.7598, allocations: 0.9261 MB / 0.8105 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.7598, allocations: 7.438 kB / 0.8106 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7599, allocations: 0 / 0.8106 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.7605, allocations: 87.77 kB / 0.8106 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.7612, allocations: 177 kB / 0.8108 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.7633, allocations: 1.629 MB / 0.8124 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008315/0.7641, allocations: 106.4 kB / 0.8125 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.7642, allocations: 41.62 kB / 0.8125 GB, free: 4.086 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 (104): * Single equations (assignments): 103 * 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.0006081/0.7648, allocations: 296.5 kB / 0.8128 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.765, allocations: 91.75 kB / 0.8129 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.7674, allocations: 1.123 MB / 0.814 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.7674, allocations: 10.19 kB / 0.814 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7674, allocations: 3.938 kB / 0.814 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.7674, allocations: 7.922 kB / 0.814 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.7688, allocations: 1.056 MB / 0.8151 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7688, allocations: 0 / 0.8151 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.7694, allocations: 154.3 kB / 0.8152 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.7698, allocations: 73.97 kB / 0.8153 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.7699, allocations: 30.27 kB / 0.8153 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.7718, allocations: 1.649 MB / 0.8169 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7718, allocations: 0 / 0.8169 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.7739, allocations: 0.9918 MB / 0.8179 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.7743, allocations: 289.1 kB / 0.8182 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.7745, allocations: 25.19 kB / 0.8182 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.7751, allocations: 60.12 kB / 0.8182 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.7752, allocations: 80.11 kB / 0.8183 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.7753, allocations: 40.84 kB / 0.8184 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006239/0.7759, allocations: 0.5121 MB / 0.8189 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.494e-06/0.776, allocations: 0 / 0.8189 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00104/0.777, allocations: 396.9 kB / 0.8192 GB, free: 15.41 MB / 0.6075 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.001382/0.7784, allocations: 0.6033 MB / 0.8198 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.7801, allocations: 0.8868 MB / 0.8207 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7801, allocations: 0 / 0.8207 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009102/0.781, allocations: 0.5514 MB / 0.8212 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.7823, allocations: 321.3 kB / 0.8215 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.7855, allocations: 1.957 MB / 0.8234 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.7861, allocations: 1.107 MB / 0.8245 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008107/0.7869, allocations: 303.9 kB / 0.8248 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.7872, allocations: 112.5 kB / 0.8249 GB, free: 12 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.7872, allocations: 0 / 0.8249 GB, free: 12 MB / 0.6075 GB Notification: Performance of Templates: time 0.03056/0.8178, allocations: 16.88 MB / 0.8414 GB, free: 13.23 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)