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.000967/0.000967, allocations: 98.5 kB / 16.02 MB, free: 80 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.0009071/0.0009072, allocations: 178.9 kB / 16.92 MB, free: 6.918 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6995/0.6995, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 9.062 kB / 495.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 77.53 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006352/0.1612, allocations: 5.477 MB / 0.5653 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4896/0.6509, allocations: 146.9 MB / 0.7088 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.6521, allocations: 19.88 kB / 0.7088 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008872/0.653, allocations: 178.6 kB / 0.709 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.6552, allocations: 0.5259 MB / 0.7095 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.6572, allocations: 0.7576 MB / 0.7102 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.659, allocations: 1.537 MB / 0.7117 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.6602, allocations: 0.8266 MB / 0.7125 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007299/0.6609, allocations: 421.8 kB / 0.7129 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005734/0.6615, allocations: 473.3 kB / 0.7134 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.419e-05/0.6616, allocations: 32 kB / 0.7134 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008677/0.6625, allocations: 375.6 kB / 0.7138 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.6627, allocations: 218.9 kB / 0.714 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005606/0.6633, allocations: 0.584 MB / 0.7145 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.6651, allocations: 1.845 MB / 0.7163 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6652, allocations: 4 kB / 0.7163 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6652, allocations: 0 / 0.7163 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.6652, allocations: 0 / 0.7163 GB, free: 6.48 MB / 0.5294 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.002878/0.6681, allocations: 1.45 MB / 0.7178 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.6681, allocations: 8.031 kB / 0.7178 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.6692, allocations: 239 kB / 0.718 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6705, allocations: 0.8445 MB / 0.7188 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.6706, allocations: 90.41 kB / 0.7189 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.6707, allocations: 112 kB / 0.719 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.6727, allocations: 1.209 MB / 0.7202 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6728, allocations: 7.875 kB / 0.7202 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.6729, allocations: 55.98 kB / 0.7202 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.6729, allocations: 32 kB / 0.7203 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.675, allocations: 1.285 MB / 0.7215 GB, free: 0.9961 MB / 0.5294 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.005285/0.6803, allocations: 3.609 MB / 0.7251 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.6819, allocations: 0.8825 MB / 0.7259 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.6825, allocations: 330.6 kB / 0.7262 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.6e-05/0.6826, allocations: 36.59 kB / 0.7263 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009709/0.6835, allocations: 0.516 MB / 0.7268 GB, free: 11.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=87): time 2.756e-06/0.6836, allocations: 0 / 0.7268 GB, free: 11.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=87): time 0.003518/0.6871, allocations: 1.302 MB / 0.728 GB, free: 10.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.6873, allocations: 188.9 kB / 0.7282 GB, free: 9.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6883, allocations: 0.7353 MB / 0.7289 GB, free: 9.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.6884, allocations: 41.7 kB / 0.729 GB, free: 9.078 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.6889, allocations: 0.5154 MB / 0.7295 GB, free: 8.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.6891, allocations: 283.9 kB / 0.7298 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.6893, allocations: 73.69 kB / 0.7298 GB, free: 8.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6894, allocations: 345.9 kB / 0.7302 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.69, allocations: 293.8 kB / 0.7304 GB, free: 7.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.6907, allocations: 403 kB / 0.7308 GB, free: 7.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.6918, allocations: 0.6594 MB / 0.7315 GB, free: 6.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6918, allocations: 0 / 0.7315 GB, free: 6.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001964/0.6938, allocations: 0.9345 MB / 0.7324 GB, free: 5.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.6938, allocations: 8 kB / 0.7324 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6939, allocations: 0 / 0.7324 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.6945, allocations: 84.81 kB / 0.7325 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.6952, allocations: 179.7 kB / 0.7326 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.6972, allocations: 1.524 MB / 0.7341 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008786/0.6981, allocations: 126.7 kB / 0.7342 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.6982, allocations: 35.97 kB / 0.7343 GB, free: 3.449 MB / 0.545 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.0005729/0.6988, allocations: 295.4 kB / 0.7346 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.699, allocations: 102.8 kB / 0.7347 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.7016, allocations: 1.141 MB / 0.7358 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.7017, allocations: 8 kB / 0.7358 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7017, allocations: 0 / 0.7358 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.7017, allocations: 3.984 kB / 0.7358 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.7031, allocations: 1.052 MB / 0.7368 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7031, allocations: 0 / 0.7368 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.7038, allocations: 155.8 kB / 0.737 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005577/0.7044, allocations: 84.77 kB / 0.737 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/0.7045, allocations: 27.98 kB / 0.7371 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.7064, allocations: 1.555 MB / 0.7386 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7064, allocations: 0 / 0.7386 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.7085, allocations: 1.002 MB / 0.7396 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.709, allocations: 303.6 kB / 0.7399 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.7092, allocations: 24 kB / 0.7399 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.71, allocations: 87.86 kB / 0.74 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.7102, allocations: 76.89 kB / 0.74 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.7103, allocations: 31.98 kB / 0.7401 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007637/0.7111, allocations: 0.5146 MB / 0.7406 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7111, allocations: 4 kB / 0.7406 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001068/0.7122, allocations: 390.8 kB / 0.7409 GB, free: 12.37 MB / 0.5606 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.001416/0.7136, allocations: 0.5923 MB / 0.7415 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.7155, allocations: 0.8944 MB / 0.7424 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7155, allocations: 0 / 0.7424 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009847/0.7165, allocations: 0.5508 MB / 0.7429 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.7179, allocations: 307.5 kB / 0.7432 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.7221, allocations: 2.549 MB / 0.7457 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.723, allocations: 1.11 MB / 0.7468 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001081/0.7241, allocations: 295.6 kB / 0.7471 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.7244, allocations: 107.4 kB / 0.7472 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.7244, allocations: 0 / 0.7472 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of Templates: time 0.03054/0.755, allocations: 15.58 MB / 0.7624 GB, free: 6.695 MB / 0.5762 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)