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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, 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.4796/0.4796, allocations: 87.5 MB / 104.9 MB, free: 13.02 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.295/1.295, allocations: 222.9 MB / 349.1 MB, free: 2.754 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.0009729/0.0009729, allocations: 99.69 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 51.92 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3251, allocations: 70.06 MB / 0.5575 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005027/0.3302, allocations: 4.084 MB / 0.5615 GB, free: 41.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1475/0.4778, allocations: 148.2 MB / 0.7061 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.4789, allocations: 15.94 kB / 0.7062 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.4795, allocations: 127 kB / 0.7063 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.4812, allocations: 393.5 kB / 0.7067 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.4829, allocations: 0.6842 MB / 0.7073 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.4841, allocations: 1.094 MB / 0.7084 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008031/0.4849, allocations: 0.5978 MB / 0.709 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.4854, allocations: 374.5 kB / 0.7093 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.4859, allocations: 414 kB / 0.7097 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.486, allocations: 52 kB / 0.7098 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007428/0.4867, allocations: 395.7 kB / 0.7102 GB, free: 256 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.4869, allocations: 223.1 kB / 0.7104 GB, free: 32 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.2977/0.7847, allocations: 445.8 kB / 0.7108 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.7863, allocations: 1.403 MB / 0.7122 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.7863, allocations: 2.844 kB / 0.7122 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7863, allocations: 0 / 0.7122 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.7863, allocations: 0 / 0.7122 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00197/0.7883, allocations: 1.312 MB / 0.7135 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7884, allocations: 9.125 kB / 0.7135 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.7892, allocations: 174.3 kB / 0.7136 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.7902, allocations: 0.6952 MB / 0.7143 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.7903, allocations: 63.62 kB / 0.7144 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.7904, allocations: 77.27 kB / 0.7144 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.7919, allocations: 0.8597 MB / 0.7153 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.7919, allocations: 1.094 kB / 0.7153 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/0.792, allocations: 32.69 kB / 0.7153 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.792, allocations: 19.28 kB / 0.7153 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.7937, allocations: 1.062 MB / 0.7164 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.7972, allocations: 2.402 MB / 0.7187 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.7984, allocations: 0.7898 MB / 0.7195 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.7988, allocations: 281.1 kB / 0.7198 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-05/0.7989, allocations: 27.17 kB / 0.7198 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007359/0.7997, allocations: 416.8 kB / 0.7202 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.876e-06/0.7997, allocations: 0 / 0.7202 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.002875/0.8026, allocations: 1.072 MB / 0.7212 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.8027, allocations: 191.6 kB / 0.7214 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.8033, allocations: 0.5857 MB / 0.722 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.8033, allocations: 43.42 kB / 0.722 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.8035, allocations: 361.9 kB / 0.7224 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.8037, allocations: 232.6 kB / 0.7226 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.8039, allocations: 146.1 kB / 0.7227 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.804, allocations: 380.6 kB / 0.7231 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.8045, allocations: 235.8 kB / 0.7233 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.805, allocations: 328 kB / 0.7236 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000908/0.8059, allocations: 0.5494 MB / 0.7242 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8059, allocations: 0 / 0.7242 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001615/0.8075, allocations: 0.7576 MB / 0.7249 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.8076, allocations: 7.375 kB / 0.7249 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8076, allocations: 4.547 kB / 0.7249 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.8081, allocations: 82.62 kB / 0.725 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.8087, allocations: 142.2 kB / 0.7251 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.8106, allocations: 1.533 MB / 0.7266 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.8112, allocations: 80.69 kB / 0.7267 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.8112, allocations: 35.34 kB / 0.7267 GB, free: 14.2 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 (81): * Single equations (assignments): 80 * 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.0003658/0.8116, allocations: 249.7 kB / 0.727 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.8117, allocations: 78.31 kB / 0.727 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.8137, allocations: 0.9626 MB / 0.728 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.8138, allocations: 12.03 kB / 0.728 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.8138, allocations: 4.188 kB / 0.728 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.8138, allocations: 3.594 kB / 0.728 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.8172, allocations: 1.834 MB / 0.7298 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.8172, allocations: 2.438 kB / 0.7298 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.8178, allocations: 135.4 kB / 0.7299 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.8183, allocations: 86.62 kB / 0.73 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.8184, allocations: 20.67 kB / 0.73 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.8201, allocations: 1.558 MB / 0.7316 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8201, allocations: 4.281 kB / 0.7316 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.8229, allocations: 1.894 MB / 0.7334 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.8232, allocations: 253.7 kB / 0.7336 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.8233, allocations: 17.06 kB / 0.7337 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005085/0.8238, allocations: 54.72 kB / 0.7337 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.824, allocations: 61.62 kB / 0.7338 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.824, allocations: 29.27 kB / 0.7338 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004908/0.8245, allocations: 428.3 kB / 0.7342 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8245, allocations: 0 / 0.7342 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001049/0.8256, allocations: 285.9 kB / 0.7345 GB, free: 11.13 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 (81): * Single equations (assignments): 78 * 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.001243/0.8268, allocations: 0.5945 MB / 0.7351 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.8285, allocations: 0.735 MB / 0.7358 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.8285, allocations: 7.125 kB / 0.7358 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000747/0.8293, allocations: 491.5 kB / 0.7363 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.8304, allocations: 264.1 kB / 0.7365 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.8342, allocations: 2.441 MB / 0.7389 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.8347, allocations: 1.012 MB / 0.7399 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007464/0.8354, allocations: 251 kB / 0.7401 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.8357, allocations: 92.81 kB / 0.7402 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/0.8357, allocations: 0 / 0.7402 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of Templates: time 0.02067/0.8563, allocations: 13.45 MB / 0.7533 GB, free: 6.121 MB / 0.5261 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)