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.0008481/0.0008481, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009164/0.0009164, allocations: 173.9 kB / 16.58 MB, free: 6.852 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.434/1.434, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6843/0.6843, allocations: 115.5 MB / 407.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1845, allocations: 77.54 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005917/0.1904, allocations: 5.159 MB / 0.5644 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5024/0.6929, allocations: 137 MB / 0.6982 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009755/0.6939, allocations: 19.88 kB / 0.6982 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.6945, allocations: 186.5 kB / 0.6984 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.6963, allocations: 0.5167 MB / 0.6989 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.6981, allocations: 0.6514 MB / 0.6995 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.6998, allocations: 1.439 MB / 0.7009 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.7008, allocations: 0.6435 MB / 0.7015 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.7014, allocations: 410.1 kB / 0.7019 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.7019, allocations: 453.6 kB / 0.7024 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.7019, allocations: 28 kB / 0.7024 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007154/0.7027, allocations: 347.6 kB / 0.7027 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.7029, allocations: 203 kB / 0.7029 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.7032, allocations: 264.9 kB / 0.7032 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.7046, allocations: 1.457 MB / 0.7046 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7046, allocations: 0 / 0.7046 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7046, allocations: 0 / 0.7046 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.7047, allocations: 0 / 0.7046 GB, free: 2.359 MB / 0.5137 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.002335/0.707, allocations: 1.464 MB / 0.706 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.707, allocations: 8.031 kB / 0.706 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/0.7079, allocations: 238 kB / 0.7063 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.709, allocations: 0.8094 MB / 0.707 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.7091, allocations: 94.41 kB / 0.7071 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.7092, allocations: 112 kB / 0.7072 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.7112, allocations: 1.194 MB / 0.7084 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.7112, allocations: 3.984 kB / 0.7084 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/0.7113, allocations: 52 kB / 0.7085 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.7113, allocations: 28 kB / 0.7085 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.7133, allocations: 1.281 MB / 0.7097 GB, free: 12.91 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.004697/0.718, allocations: 3.614 MB / 0.7133 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.7195, allocations: 0.8633 MB / 0.7141 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.72, allocations: 326.7 kB / 0.7144 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.7201, allocations: 36.59 kB / 0.7145 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008727/0.721, allocations: 0.5236 MB / 0.715 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=87): time 3.096e-06/0.721, allocations: 4 kB / 0.715 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87): time 0.003085/0.7241, allocations: 1.288 MB / 0.7162 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.7242, allocations: 188.9 kB / 0.7164 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.7251, allocations: 0.7274 MB / 0.7171 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.551e-05/0.7252, allocations: 49.69 kB / 0.7172 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.7256, allocations: 0.5115 MB / 0.7177 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.7259, allocations: 287.8 kB / 0.7179 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.7259, allocations: 16 kB / 0.718 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.726, allocations: 341.9 kB / 0.7183 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.7266, allocations: 293.8 kB / 0.7186 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.7272, allocations: 387.1 kB / 0.7189 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/0.7278, allocations: 334.9 kB / 0.7193 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7279, allocations: 4 kB / 0.7193 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001866/0.7297, allocations: 0.9267 MB / 0.7202 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7297, allocations: 4 kB / 0.7202 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7298, allocations: 0 / 0.7202 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.7303, allocations: 84.88 kB / 0.7203 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.731, allocations: 183.7 kB / 0.7204 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.733, allocations: 1.521 MB / 0.7219 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/0.7337, allocations: 123.3 kB / 0.722 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.7338, allocations: 39.97 kB / 0.7221 GB, free: 15.82 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005234/0.7343, allocations: 299.5 kB / 0.7224 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.7345, allocations: 94.98 kB / 0.7224 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.7368, allocations: 1.149 MB / 0.7236 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.7369, allocations: 12 kB / 0.7236 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.7369, allocations: 0 / 0.7236 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.7369, allocations: 3.984 kB / 0.7236 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.7381, allocations: 1.056 MB / 0.7246 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7381, allocations: 0 / 0.7246 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/0.7387, allocations: 155.8 kB / 0.7248 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.7392, allocations: 84.77 kB / 0.7248 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.7393, allocations: 23.98 kB / 0.7249 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.741, allocations: 1.556 MB / 0.7264 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.741, allocations: 0 / 0.7264 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.7429, allocations: 0.9902 MB / 0.7273 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.7433, allocations: 303.5 kB / 0.7276 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.7434, allocations: 20 kB / 0.7277 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.7441, allocations: 89.55 kB / 0.7277 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.7442, allocations: 72.89 kB / 0.7278 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/0.7443, allocations: 31.98 kB / 0.7278 GB, free: 9.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006411/0.7449, allocations: 0.5068 MB / 0.7283 GB, free: 9.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7449, allocations: 3.938 kB / 0.7283 GB, free: 9.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009316/0.7459, allocations: 394.8 kB / 0.7287 GB, free: 8.754 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/0.7471, allocations: 0.6032 MB / 0.7293 GB, free: 8.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.7488, allocations: 0.8905 MB / 0.7302 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.7488, allocations: 0 / 0.7302 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.7497, allocations: 0.547 MB / 0.7307 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.7509, allocations: 284.3 kB / 0.731 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.7544, allocations: 2.463 MB / 0.7334 GB, free: 4.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.7551, allocations: 1.11 MB / 0.7345 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009661/0.7561, allocations: 291.5 kB / 0.7348 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.7564, allocations: 115.4 kB / 0.7349 GB, free: 2.578 MB / 0.545 GB Notification: Performance of SimCode: time 2.945e-06/0.7564, allocations: 0 / 0.7349 GB, free: 2.578 MB / 0.545 GB Notification: Performance of Templates: time 0.02534/0.7817, allocations: 15.13 MB / 0.7496 GB, free: 3.648 MB / 0.5606 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)