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.0008941/0.0008942, allocations: 88.91 kB / 16.67 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000955/0.0009551, allocations: 183.9 kB / 17.58 MB, free: 6.188 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.4/1.4, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7272/0.7272, allocations: 115.5 MB / 408.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004873, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5041, allocations: 77.51 MB / 0.5606 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005768/0.5099, allocations: 4.377 MB / 0.5648 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.172/0.682, allocations: 146.7 MB / 0.7081 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.6833, allocations: 19.88 kB / 0.7081 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009446/0.6842, allocations: 150.9 kB / 0.7083 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.6866, allocations: 467.2 kB / 0.7087 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.6888, allocations: 0.7262 MB / 0.7094 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.6906, allocations: 1.277 MB / 0.7107 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009469/0.6916, allocations: 0.5709 MB / 0.7112 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.6922, allocations: 346.4 kB / 0.7116 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.6928, allocations: 385.9 kB / 0.7119 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.6929, allocations: 28 kB / 0.712 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009326/0.6938, allocations: 367.6 kB / 0.7123 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.694, allocations: 183.1 kB / 0.7125 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.6945, allocations: 478.9 kB / 0.7129 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.6958, allocations: 1.184 MB / 0.7141 GB, free: 5.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6959, allocations: 0 / 0.7141 GB, free: 5.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6959, allocations: 0 / 0.7141 GB, free: 5.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.6959, allocations: 0 / 0.7141 GB, free: 5.621 MB / 0.545 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.002406/0.6983, allocations: 1.212 MB / 0.7153 GB, free: 4.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6984, allocations: 15.95 kB / 0.7153 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009247/0.6993, allocations: 199.4 kB / 0.7155 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.7004, allocations: 0.7305 MB / 0.7162 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.7005, allocations: 62 kB / 0.7163 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.7006, allocations: 83.98 kB / 0.7163 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.7023, allocations: 0.9223 MB / 0.7172 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.7023, allocations: 0 / 0.7172 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/0.7024, allocations: 36 kB / 0.7173 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.7024, allocations: 20 kB / 0.7173 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.7042, allocations: 1.124 MB / 0.7184 GB, free: 1.094 MB / 0.545 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.00438/0.7086, allocations: 2.769 MB / 0.7211 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.7102, allocations: 0.9025 MB / 0.722 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.7108, allocations: 303.8 kB / 0.7223 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/0.7109, allocations: 28.62 kB / 0.7223 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009205/0.7118, allocations: 0.4939 MB / 0.7228 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.005e-06/0.7118, allocations: 0 / 0.7228 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003256/0.7151, allocations: 1.205 MB / 0.7239 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.7152, allocations: 192.6 kB / 0.7241 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/0.7162, allocations: 0.6253 MB / 0.7247 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.7163, allocations: 41.7 kB / 0.7248 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.7166, allocations: 392.4 kB / 0.7252 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.7169, allocations: 256.3 kB / 0.7254 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.717, allocations: 69.67 kB / 0.7255 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7171, allocations: 390.7 kB / 0.7258 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/0.7177, allocations: 269.9 kB / 0.7261 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.7183, allocations: 367.1 kB / 0.7264 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.7195, allocations: 0.6112 MB / 0.727 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7195, allocations: 4 kB / 0.727 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00203/0.7215, allocations: 0.8566 MB / 0.7279 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.7215, allocations: 4 kB / 0.7279 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.7216, allocations: 4 kB / 0.7279 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/0.7222, allocations: 88.73 kB / 0.728 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.7229, allocations: 163.7 kB / 0.7281 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.7253, allocations: 1.541 MB / 0.7296 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000857/0.7261, allocations: 97.73 kB / 0.7297 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.7262, allocations: 39.97 kB / 0.7298 GB, free: 4.988 MB / 0.5606 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005519/0.7268, allocations: 267.4 kB / 0.73 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.7269, allocations: 82.98 kB / 0.7301 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.7294, allocations: 1.073 MB / 0.7312 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7294, allocations: 11.94 kB / 0.7312 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7294, allocations: 0 / 0.7312 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.7295, allocations: 7.984 kB / 0.7312 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.7329, allocations: 1.979 MB / 0.7331 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.733, allocations: 0 / 0.7331 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.7336, allocations: 143.8 kB / 0.7332 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005455/0.7341, allocations: 88.72 kB / 0.7333 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/0.7342, allocations: 27.97 kB / 0.7334 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.7363, allocations: 1.552 MB / 0.7349 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.7363, allocations: 3.984 kB / 0.7349 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.7386, allocations: 0.9999 MB / 0.7358 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/0.7392, allocations: 283.7 kB / 0.7361 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.7395, allocations: 23.98 kB / 0.7361 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/0.7403, allocations: 83.81 kB / 0.7362 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.7406, allocations: 76.89 kB / 0.7363 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.234e-05/0.7407, allocations: 31.98 kB / 0.7363 GB, free: 14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008521/0.7415, allocations: 455 kB / 0.7368 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7415, allocations: 0 / 0.7368 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001219/0.7428, allocations: 319.2 kB / 0.7371 GB, free: 13.25 MB / 0.5762 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 (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.001616/0.7444, allocations: 0.5997 MB / 0.7376 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.7463, allocations: 0.8312 MB / 0.7385 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.7463, allocations: 4.188 kB / 0.7385 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009972/0.7473, allocations: 0.5197 MB / 0.739 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.749, allocations: 270.5 kB / 0.7392 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.7527, allocations: 2.114 MB / 0.7413 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.7534, allocations: 1.02 MB / 0.7423 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.7538, allocations: 111.4 kB / 0.7424 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.7538, allocations: 0 / 0.7424 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.3186/1.072, allocations: 18.34 MB / 0.7603 GB, free: 167.9 MB / 0.5762 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)