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.001108/0.001108, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001055/0.001055, allocations: 198.1 kB / 16.91 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7727/0.7727, allocations: 122.9 MB / 413.6 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 55.91 kB / 0.4906 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4054, allocations: 77.92 MB / 0.5667 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006193/0.4116, allocations: 4.819 MB / 0.5714 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1755/0.5871, allocations: 148.4 MB / 0.7163 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.5888, allocations: 19.88 kB / 0.7163 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.5902, allocations: 154.8 kB / 0.7165 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.5931, allocations: 480.8 kB / 0.7169 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.596, allocations: 0.7465 MB / 0.7177 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002329/0.5984, allocations: 1.374 MB / 0.719 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.5997, allocations: 0.5946 MB / 0.7196 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.6007, allocations: 490.3 kB / 0.7201 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009842/0.6017, allocations: 0.4979 MB / 0.7205 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003678/0.6021, allocations: 120 kB / 0.7207 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.6035, allocations: 467.6 kB / 0.7211 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.604, allocations: 295 kB / 0.7214 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008914/0.6049, allocations: 0.5519 MB / 0.7219 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.6076, allocations: 1.608 MB / 0.7235 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6076, allocations: 0 / 0.7235 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6076, allocations: 4 kB / 0.7235 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.507e-05/0.6077, allocations: 4 kB / 0.7235 GB, free: 9.902 MB / 0.5606 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.003441/0.6111, allocations: 1.41 MB / 0.7249 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6112, allocations: 12.62 kB / 0.7249 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.6123, allocations: 187.4 kB / 0.7251 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.6137, allocations: 0.7344 MB / 0.7258 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/0.6138, allocations: 66 kB / 0.7259 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6139, allocations: 76 kB / 0.7259 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.6157, allocations: 0.93 MB / 0.7268 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.6158, allocations: 3.984 kB / 0.7268 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.6159, allocations: 32 kB / 0.7269 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.6159, allocations: 20 kB / 0.7269 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.6177, allocations: 1.116 MB / 0.728 GB, free: 5.191 MB / 0.5606 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.00441/0.6221, allocations: 2.716 MB / 0.7306 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.6237, allocations: 0.8948 MB / 0.7315 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.6242, allocations: 298.7 kB / 0.7318 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.53e-05/0.6243, allocations: 36.61 kB / 0.7318 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009426/0.6253, allocations: 495 kB / 0.7323 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.665e-06/0.6253, allocations: 0 / 0.7323 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003245/0.6286, allocations: 1.186 MB / 0.7335 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.6287, allocations: 196.6 kB / 0.7336 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/0.6296, allocations: 0.633 MB / 0.7343 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.6297, allocations: 41.7 kB / 0.7343 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.63, allocations: 392.4 kB / 0.7347 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.6303, allocations: 256.3 kB / 0.7349 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.6305, allocations: 166.4 kB / 0.7351 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6307, allocations: 386.7 kB / 0.7354 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.6312, allocations: 269.8 kB / 0.7357 GB, free: 13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/0.6319, allocations: 363.1 kB / 0.736 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.633, allocations: 0.6033 MB / 0.7366 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.633, allocations: 4 kB / 0.7366 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002018/0.6351, allocations: 0.8411 MB / 0.7375 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.6351, allocations: 14.12 kB / 0.7375 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.6351, allocations: 4 kB / 0.7375 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.6358, allocations: 88.7 kB / 0.7376 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.6365, allocations: 151.8 kB / 0.7377 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.6388, allocations: 1.654 MB / 0.7393 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.6398, allocations: 91.28 kB / 0.7394 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.6399, allocations: 44.03 kB / 0.7395 GB, free: 8.977 MB / 0.5762 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.000582/0.6405, allocations: 271.3 kB / 0.7397 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.6407, allocations: 75.06 kB / 0.7398 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.6431, allocations: 1.069 MB / 0.7408 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6432, allocations: 8 kB / 0.7408 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6432, allocations: 3.938 kB / 0.7408 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.6432, allocations: 7.984 kB / 0.7408 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.6469, allocations: 1.962 MB / 0.7428 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6469, allocations: 0 / 0.7428 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.6475, allocations: 143.8 kB / 0.7429 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.6479, allocations: 64.8 kB / 0.743 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/0.648, allocations: 27.97 kB / 0.743 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.6501, allocations: 1.674 MB / 0.7446 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6502, allocations: 0 / 0.7446 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.6525, allocations: 0.9921 MB / 0.7456 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.6529, allocations: 271.7 kB / 0.7458 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.653, allocations: 16 kB / 0.7459 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.6537, allocations: 75.86 kB / 0.7459 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.6539, allocations: 68.84 kB / 0.746 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/0.654, allocations: 35.98 kB / 0.746 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006156/0.6546, allocations: 455 kB / 0.7465 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.563e-06/0.6546, allocations: 3.938 kB / 0.7465 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001007/0.6556, allocations: 323.2 kB / 0.7468 GB, free: 1.199 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.001461/0.6571, allocations: 0.5956 MB / 0.7474 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2941/0.9512, allocations: 1.014 MB / 0.7484 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.9513, allocations: 0.5 kB / 0.7484 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.9526, allocations: 0.5207 MB / 0.7489 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.9543, allocations: 313.8 kB / 0.7492 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.9592, allocations: 2.039 MB / 0.7512 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.9604, allocations: 1.021 MB / 0.7522 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001393/0.9618, allocations: 255 kB / 0.7524 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.9621, allocations: 106.3 kB / 0.7525 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.773e-06/0.9621, allocations: 0 / 0.7525 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.03583/0.998, allocations: 15.06 MB / 0.7672 GB, free: 163.4 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)