Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 97.44 kB / 15.69 MB, free: 488 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.0008677/0.0008678, allocations: 174.5 kB / 16.56 MB, free: 6.391 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.277/1.277, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7383/0.7383, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 9.844 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1667, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004577/0.1713, allocations: 3.593 MB / 0.5603 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4796/0.651, allocations: 127.5 MB / 0.6849 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007721/0.6518, allocations: 15.94 kB / 0.6849 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.6522, allocations: 79.27 kB / 0.685 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.6538, allocations: 0.4885 MB / 0.6854 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.6556, allocations: 0.6245 MB / 0.686 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.6568, allocations: 0.8066 MB / 0.6868 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.6576, allocations: 483.4 kB / 0.6873 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.6581, allocations: 330.6 kB / 0.6876 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.6585, allocations: 326.3 kB / 0.6879 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.6586, allocations: 28 kB / 0.688 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000768/0.6593, allocations: 311.6 kB / 0.6882 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.6596, allocations: 183.2 kB / 0.6884 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.6597, allocations: 189.1 kB / 0.6886 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.6609, allocations: 1.175 MB / 0.6897 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6609, allocations: 0 / 0.6897 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6609, allocations: 0 / 0.6897 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.661, allocations: 0 / 0.6897 GB, free: 1.773 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00218/0.6631, allocations: 1.21 MB / 0.6909 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6632, allocations: 8.031 kB / 0.6909 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008706/0.6641, allocations: 190.5 kB / 0.6911 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.6653, allocations: 0.7225 MB / 0.6918 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.6653, allocations: 62 kB / 0.6919 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6654, allocations: 83.95 kB / 0.692 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.6671, allocations: 0.9067 MB / 0.6929 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.6671, allocations: 0 / 0.6929 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/0.6672, allocations: 43.98 kB / 0.6929 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.6672, allocations: 20 kB / 0.6929 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.669, allocations: 1.108 MB / 0.694 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.6731, allocations: 2.558 MB / 0.6965 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.6746, allocations: 0.8832 MB / 0.6974 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.772e-05/0.6747, allocations: 32.59 kB / 0.6974 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008675/0.6756, allocations: 499.1 kB / 0.6979 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 2.134e-06/0.6756, allocations: 3.938 kB / 0.6979 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.002831/0.6784, allocations: 1.2 MB / 0.699 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6786, allocations: 196.6 kB / 0.6992 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007319/0.6793, allocations: 0.6175 MB / 0.6998 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.6794, allocations: 41.7 kB / 0.6999 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.6797, allocations: 400.3 kB / 0.7002 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.6799, allocations: 252.4 kB / 0.7005 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.68, allocations: 16 kB / 0.7005 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6801, allocations: 386.8 kB / 0.7009 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.6806, allocations: 249.9 kB / 0.7011 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.6812, allocations: 354.5 kB / 0.7015 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.6817, allocations: 294.9 kB / 0.7017 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6817, allocations: 0 / 0.7017 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001658/0.6834, allocations: 0.8058 MB / 0.7025 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.6834, allocations: 8 kB / 0.7025 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6834, allocations: 0 / 0.7025 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/0.684, allocations: 88.81 kB / 0.7026 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.6846, allocations: 147.8 kB / 0.7028 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.6866, allocations: 1.547 MB / 0.7043 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/0.6872, allocations: 98.27 kB / 0.7044 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.6873, allocations: 23.98 kB / 0.7044 GB, free: 2.273 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.00041/0.6877, allocations: 270.6 kB / 0.7046 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.6878, allocations: 82.97 kB / 0.7047 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.69, allocations: 1.081 MB / 0.7058 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.69, allocations: 11.98 kB / 0.7058 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.69, allocations: 0 / 0.7058 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.69, allocations: 7.984 kB / 0.7058 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.693, allocations: 1.961 MB / 0.7077 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.693, allocations: 0 / 0.7077 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.6936, allocations: 147.7 kB / 0.7078 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/0.694, allocations: 84.78 kB / 0.7079 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.6941, allocations: 27.97 kB / 0.708 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.6958, allocations: 1.575 MB / 0.7095 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6959, allocations: 0 / 0.7095 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.6977, allocations: 1 MB / 0.7105 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.6981, allocations: 287.7 kB / 0.7107 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6982, allocations: 16 kB / 0.7108 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/0.6988, allocations: 83.88 kB / 0.7108 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.699, allocations: 68.89 kB / 0.7109 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.699, allocations: 39.97 kB / 0.7109 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005242/0.6996, allocations: 443 kB / 0.7114 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6996, allocations: 4 kB / 0.7114 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008167/0.7004, allocations: 307.2 kB / 0.7117 GB, free: 10.55 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.001212/0.7016, allocations: 0.586 MB / 0.7122 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.7031, allocations: 0.7924 MB / 0.713 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.7031, allocations: 4 kB / 0.713 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008179/0.7039, allocations: 0.5196 MB / 0.7135 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.705, allocations: 239.3 kB / 0.7137 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.7093, allocations: 2.159 MB / 0.7159 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.7099, allocations: 1.039 MB / 0.7169 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007804/0.7107, allocations: 262.5 kB / 0.7171 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.7109, allocations: 111.3 kB / 0.7172 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.7109, allocations: 0 / 0.7172 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of Templates: time 0.02476/0.7357, allocations: 13.59 MB / 0.7305 GB, free: 7.539 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)