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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.0009955/0.0009955, allocations: 182.4 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.387/1.387, 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.7313/0.7313, allocations: 115.5 MB / 408.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 11.98 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.438, allocations: 77.51 MB / 0.5606 GB, free: 36.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00547/0.4435, allocations: 4.479 MB / 0.565 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1669/0.6105, allocations: 146.7 MB / 0.7083 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.6121, allocations: 19.88 kB / 0.7083 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.6132, allocations: 142.9 kB / 0.7084 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.6156, allocations: 486.5 kB / 0.7089 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.6181, allocations: 0.7352 MB / 0.7096 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002139/0.6203, allocations: 1.331 MB / 0.7109 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.6214, allocations: 0.5477 MB / 0.7114 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008541/0.6223, allocations: 366.3 kB / 0.7118 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008875/0.6232, allocations: 413.7 kB / 0.7122 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.6234, allocations: 28 kB / 0.7122 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.6245, allocations: 371.6 kB / 0.7126 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.6248, allocations: 199 kB / 0.7127 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000673/0.6255, allocations: 490.8 kB / 0.7132 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.6271, allocations: 1.188 MB / 0.7144 GB, free: 5.512 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6271, allocations: 3.938 kB / 0.7144 GB, free: 5.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6271, allocations: 4 kB / 0.7144 GB, free: 5.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.27e-05/0.6272, allocations: 0 / 0.7144 GB, free: 5.504 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002784/0.63, allocations: 1.241 MB / 0.7156 GB, free: 4.215 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.63, allocations: 8.031 kB / 0.7156 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.6312, allocations: 207.3 kB / 0.7158 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.6328, allocations: 0.7508 MB / 0.7165 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.6329, allocations: 58 kB / 0.7166 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.6331, allocations: 84 kB / 0.7167 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.6351, allocations: 0.9457 MB / 0.7176 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6352, allocations: 0 / 0.7176 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.6353, allocations: 40 kB / 0.7176 GB, free: 2.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.6353, allocations: 24 kB / 0.7177 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.6372, allocations: 1.132 MB / 0.7188 GB, free: 0.8906 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.004643/0.6419, allocations: 2.791 MB / 0.7215 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.6435, allocations: 0.9071 MB / 0.7224 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.6441, allocations: 322.7 kB / 0.7227 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/0.6442, allocations: 36.67 kB / 0.7227 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009371/0.6452, allocations: 0.5167 MB / 0.7232 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 3.276e-06/0.6452, allocations: 3.938 kB / 0.7232 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.00338/0.6486, allocations: 1.27 MB / 0.7245 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.6487, allocations: 188.9 kB / 0.7246 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/0.6497, allocations: 0.641 MB / 0.7253 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.6498, allocations: 41.7 kB / 0.7253 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.6502, allocations: 400.5 kB / 0.7257 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.6505, allocations: 276 kB / 0.726 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.6506, allocations: 73.67 kB / 0.726 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6508, allocations: 386.8 kB / 0.7264 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.6514, allocations: 281.8 kB / 0.7267 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/0.6521, allocations: 383 kB / 0.727 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.6533, allocations: 0.6282 MB / 0.7276 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6533, allocations: 3.938 kB / 0.7276 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00208/0.6554, allocations: 0.8801 MB / 0.7285 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6555, allocations: 8 kB / 0.7285 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.6555, allocations: 3.938 kB / 0.7285 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/0.6561, allocations: 84.86 kB / 0.7286 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.6568, allocations: 183.6 kB / 0.7288 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.6593, allocations: 1.518 MB / 0.7303 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/0.6601, allocations: 108.2 kB / 0.7304 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.6603, allocations: 39.97 kB / 0.7304 GB, free: 4.523 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0005566/0.6608, allocations: 275.7 kB / 0.7307 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.661, allocations: 83.16 kB / 0.7307 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.6637, allocations: 1.152 MB / 0.7319 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6637, allocations: 8 kB / 0.7319 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6637, allocations: 0 / 0.7319 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.6637, allocations: 11.92 kB / 0.7319 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/0.6674, allocations: 2.017 MB / 0.7338 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6674, allocations: 4 kB / 0.7339 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.668, allocations: 155.8 kB / 0.734 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.6686, allocations: 84.77 kB / 0.7341 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.6687, allocations: 23.98 kB / 0.7341 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.6705, allocations: 1.552 MB / 0.7356 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6706, allocations: 4.031 kB / 0.7356 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.6727, allocations: 1.051 MB / 0.7367 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/0.6732, allocations: 303.5 kB / 0.7369 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.6734, allocations: 23.94 kB / 0.737 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.6742, allocations: 95.56 kB / 0.7371 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.6744, allocations: 76.83 kB / 0.7371 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/0.6745, allocations: 40.03 kB / 0.7372 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006769/0.6752, allocations: 463 kB / 0.7376 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6752, allocations: 0 / 0.7376 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001018/0.6762, allocations: 331.2 kB / 0.7379 GB, free: 12.55 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001518/0.6778, allocations: 0.6084 MB / 0.7385 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001872/0.6797, allocations: 0.8743 MB / 0.7394 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6797, allocations: 0 / 0.7394 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.6807, allocations: 0.5431 MB / 0.7399 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.6821, allocations: 270.8 kB / 0.7402 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.6857, allocations: 2.182 MB / 0.7423 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.6864, allocations: 1.036 MB / 0.7433 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.6867, allocations: 135.3 kB / 0.7434 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.6868, allocations: 0 / 0.7434 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of Templates: time 0.3258/1.013, allocations: 18.78 MB / 0.7618 GB, free: 168.3 MB / 0.5762 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)