Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5106/0.5106, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 103.8 kB / 420 MB, free: 8.453 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 59.91 kB / 0.4891 GB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3676, allocations: 70.05 MB / 0.5575 GB, free: 44.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005666/0.3733, allocations: 4.12 MB / 0.5615 GB, free: 41.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1665/0.5398, allocations: 148.2 MB / 0.7062 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.5411, allocations: 19.88 kB / 0.7062 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.5422, allocations: 127 kB / 0.7063 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.545, allocations: 397.6 kB / 0.7067 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.5478, allocations: 0.6997 MB / 0.7074 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.5495, allocations: 1.113 MB / 0.7085 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008984/0.5504, allocations: 0.5822 MB / 0.7091 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.551, allocations: 378.4 kB / 0.7094 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.5515, allocations: 422 kB / 0.7098 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.5517, allocations: 52 kB / 0.7099 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009463/0.5526, allocations: 395.6 kB / 0.7102 GB, free: 160 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.3739/0.9266, allocations: 214.5 kB / 0.7105 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.9274, allocations: 452.3 kB / 0.7109 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.9291, allocations: 1.399 MB / 0.7123 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9291, allocations: 1.125 kB / 0.7123 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9291, allocations: 0 / 0.7123 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.9292, allocations: 0 / 0.7123 GB, free: 3.184 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002233/0.9314, allocations: 1.321 MB / 0.7135 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9314, allocations: 10.25 kB / 0.7136 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.9324, allocations: 177.9 kB / 0.7137 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.9334, allocations: 0.7045 MB / 0.7144 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.9335, allocations: 62.53 kB / 0.7145 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.9337, allocations: 77.3 kB / 0.7145 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.9353, allocations: 0.864 MB / 0.7154 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.9354, allocations: 5.188 kB / 0.7154 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.9355, allocations: 34.34 kB / 0.7154 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.9355, allocations: 22.95 kB / 0.7154 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.9376, allocations: 1.07 MB / 0.7165 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.9415, allocations: 2.381 MB / 0.7188 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.9427, allocations: 0.7901 MB / 0.7196 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.9431, allocations: 276 kB / 0.7199 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/0.9432, allocations: 30.89 kB / 0.7199 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007441/0.944, allocations: 423.3 kB / 0.7203 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=72): time 3.176e-06/0.944, allocations: 3.844 kB / 0.7203 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.002626/0.9466, allocations: 1.073 MB / 0.7213 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.9467, allocations: 191.4 kB / 0.7215 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.9474, allocations: 0.5881 MB / 0.7221 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.9474, allocations: 41.17 kB / 0.7221 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.9477, allocations: 370.8 kB / 0.7225 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.9478, allocations: 243 kB / 0.7227 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.948, allocations: 147.4 kB / 0.7229 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9482, allocations: 382.7 kB / 0.7232 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.9486, allocations: 231.3 kB / 0.7234 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.9491, allocations: 327.1 kB / 0.7238 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.95, allocations: 0.5498 MB / 0.7243 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.95, allocations: 0 / 0.7243 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001617/0.9516, allocations: 0.7674 MB / 0.725 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.9517, allocations: 9.219 kB / 0.7251 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.9517, allocations: 4 kB / 0.7251 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005366/0.9522, allocations: 80.27 kB / 0.7251 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.9528, allocations: 147.8 kB / 0.7253 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.9546, allocations: 1.519 MB / 0.7268 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.9552, allocations: 87.88 kB / 0.7268 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.9553, allocations: 37.88 kB / 0.7269 GB, free: 14.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0003501/0.9557, allocations: 252.9 kB / 0.7271 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.9558, allocations: 74.34 kB / 0.7272 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.9579, allocations: 1.007 MB / 0.7282 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.9579, allocations: 8.812 kB / 0.7282 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.9579, allocations: 0.9062 kB / 0.7282 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.9579, allocations: 7.188 kB / 0.7282 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.9612, allocations: 1.848 MB / 0.73 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.9612, allocations: 3.094 kB / 0.73 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.9618, allocations: 144.1 kB / 0.7301 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.9623, allocations: 82.16 kB / 0.7302 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.9623, allocations: 24.05 kB / 0.7302 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.9641, allocations: 1.547 MB / 0.7317 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9642, allocations: 0.5625 kB / 0.7317 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.9668, allocations: 1.915 MB / 0.7336 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.9671, allocations: 252.7 kB / 0.7339 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/0.9672, allocations: 17.64 kB / 0.7339 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.9678, allocations: 58.52 kB / 0.7339 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.9679, allocations: 62.27 kB / 0.734 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.968, allocations: 27.45 kB / 0.734 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004803/0.9685, allocations: 430.1 kB / 0.7344 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9685, allocations: 1.094 kB / 0.7344 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009899/0.9695, allocations: 299 kB / 0.7347 GB, free: 11.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001302/0.9708, allocations: 0.6026 MB / 0.7353 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.9722, allocations: 0.7484 MB / 0.736 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9722, allocations: 3.344 kB / 0.736 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007403/0.9729, allocations: 0.4916 MB / 0.7365 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.9741, allocations: 257.1 kB / 0.7368 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.9782, allocations: 2.48 MB / 0.7392 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/0.9789, allocations: 1.022 MB / 0.7402 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008608/0.9797, allocations: 254.1 kB / 0.7404 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.98, allocations: 92.81 kB / 0.7405 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.98, allocations: 7.188 kB / 0.7405 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of Templates: time 0.02337/1.003, allocations: 13.62 MB / 0.7538 GB, free: 5.934 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)