Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001318, allocations: 96.66 kB / 15.69 MB, free: 480 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.001497/0.001497, allocations: 176.2 kB / 16.57 MB, free: 6.398 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.5/1.5, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.653/0.653, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 9.75 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004516/0.1619, allocations: 3.577 MB / 0.5603 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4727/0.6347, allocations: 127.5 MB / 0.6848 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.6357, allocations: 15.94 kB / 0.6849 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.6364, allocations: 75.28 kB / 0.6849 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.6384, allocations: 494.8 kB / 0.6854 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.6403, allocations: 0.611 MB / 0.686 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.6418, allocations: 0.7988 MB / 0.6868 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008612/0.6427, allocations: 472 kB / 0.6872 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/0.6433, allocations: 330.6 kB / 0.6875 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000576/0.6439, allocations: 322.3 kB / 0.6879 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.6441, allocations: 28 kB / 0.6879 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008216/0.6449, allocations: 307.6 kB / 0.6882 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.6451, allocations: 175.2 kB / 0.6883 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.6454, allocations: 193.1 kB / 0.6885 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.6467, allocations: 1.142 MB / 0.6896 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6467, allocations: 4 kB / 0.6896 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6467, allocations: 0 / 0.6896 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.884e-05/0.6468, allocations: 0 / 0.6896 GB, free: 1.855 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002418/0.6492, allocations: 1.21 MB / 0.6908 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6492, allocations: 16.02 kB / 0.6908 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000921/0.6502, allocations: 186.5 kB / 0.691 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.6512, allocations: 0.7108 MB / 0.6917 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.6513, allocations: 62.88 kB / 0.6918 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.6514, allocations: 87.94 kB / 0.6919 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.6528, allocations: 0.8911 MB / 0.6927 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.6528, allocations: 0 / 0.6927 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/0.6529, allocations: 36 kB / 0.6928 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.6529, allocations: 20 kB / 0.6928 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.6545, allocations: 1.093 MB / 0.6938 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.6583, allocations: 2.513 MB / 0.6963 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.6598, allocations: 0.8716 MB / 0.6972 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.6599, allocations: 28.59 kB / 0.6972 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008127/0.6607, allocations: 495 kB / 0.6977 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 2.635e-06/0.6607, allocations: 4 kB / 0.6977 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.00283/0.6636, allocations: 1.173 MB / 0.6988 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.6637, allocations: 192.6 kB / 0.699 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.6647, allocations: 0.6135 MB / 0.6996 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.519e-05/0.6648, allocations: 49.64 kB / 0.6996 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.6652, allocations: 392.3 kB / 0.7 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.6654, allocations: 248.4 kB / 0.7002 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.6655, allocations: 16 kB / 0.7003 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6657, allocations: 390.7 kB / 0.7006 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.6662, allocations: 237.9 kB / 0.7009 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.6668, allocations: 358.5 kB / 0.7012 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.6673, allocations: 290.9 kB / 0.7015 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6673, allocations: 0 / 0.7015 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001857/0.6692, allocations: 0.7824 MB / 0.7022 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6692, allocations: 4 kB / 0.7022 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.6692, allocations: 0 / 0.7022 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.6698, allocations: 84.86 kB / 0.7023 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.6705, allocations: 155.7 kB / 0.7025 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.6724, allocations: 1.528 MB / 0.704 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.6731, allocations: 103.4 kB / 0.7041 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.6732, allocations: 27.98 kB / 0.7041 GB, free: 2.551 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004404/0.6736, allocations: 262.7 kB / 0.7043 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.6737, allocations: 87.83 kB / 0.7044 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.6759, allocations: 1.069 MB / 0.7055 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.6759, allocations: 8 kB / 0.7055 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6759, allocations: 0 / 0.7055 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.676, allocations: 7.984 kB / 0.7055 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.679, allocations: 1.907 MB / 0.7073 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.679, allocations: 3.938 kB / 0.7074 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.6796, allocations: 143.8 kB / 0.7075 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/0.6801, allocations: 84.77 kB / 0.7076 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.6802, allocations: 27.98 kB / 0.7076 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.6819, allocations: 1.567 MB / 0.7091 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6819, allocations: 0 / 0.7091 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.6838, allocations: 0.9805 MB / 0.7101 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.6843, allocations: 287.7 kB / 0.7104 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.6844, allocations: 19.94 kB / 0.7104 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/0.6851, allocations: 82.48 kB / 0.7105 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6853, allocations: 72.89 kB / 0.7105 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.6853, allocations: 31.98 kB / 0.7106 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006967/0.686, allocations: 451 kB / 0.711 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.686, allocations: 0 / 0.711 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00107/0.6871, allocations: 295.3 kB / 0.7113 GB, free: 10.94 MB / 0.5294 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 (90): * Single equations (assignments): 84 * 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.001589/0.6887, allocations: 0.6121 MB / 0.7119 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.6905, allocations: 0.7885 MB / 0.7126 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6905, allocations: 0 / 0.7126 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.6914, allocations: 0.5003 MB / 0.7131 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6925, allocations: 232.3 kB / 0.7133 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.6971, allocations: 2.133 MB / 0.7154 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.6978, allocations: 1.043 MB / 0.7164 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009558/0.6988, allocations: 262.5 kB / 0.7167 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.6991, allocations: 103.4 kB / 0.7168 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.6991, allocations: 0 / 0.7168 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of Templates: time 0.02737/0.7264, allocations: 13.42 MB / 0.7299 GB, free: 8.133 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)