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.001513/0.001513, allocations: 106.2 kB / 15.98 MB, free: 5.883 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.001182/0.001182, allocations: 188.2 kB / 16.91 MB, free: 5.746 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.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7843/0.7843, allocations: 122.9 MB / 413.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.75 kB / 0.4906 GB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1777, allocations: 77.93 MB / 0.5667 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006469/0.1842, allocations: 4.798 MB / 0.5714 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4864/0.6707, allocations: 148.4 MB / 0.7163 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.6722, allocations: 15.94 kB / 0.7163 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007695/0.673, allocations: 152.7 kB / 0.7164 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.6749, allocations: 491.9 kB / 0.7169 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.6771, allocations: 0.7439 MB / 0.7176 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.6787, allocations: 1.382 MB / 0.719 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.6796, allocations: 0.5869 MB / 0.7196 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/0.6803, allocations: 490.3 kB / 0.72 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005733/0.6809, allocations: 0.4997 MB / 0.7205 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.6811, allocations: 120 kB / 0.7206 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009642/0.6821, allocations: 467.5 kB / 0.7211 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.6824, allocations: 291.1 kB / 0.7214 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.6829, allocations: 0.5597 MB / 0.7219 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.6846, allocations: 1.601 MB / 0.7235 GB, free: 7.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.6846, allocations: 0 / 0.7235 GB, free: 7.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.065e-06/0.6846, allocations: 4 kB / 0.7235 GB, free: 7.051 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.6846, allocations: 0 / 0.7235 GB, free: 7.051 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.002692/0.6873, allocations: 1.427 MB / 0.7249 GB, free: 5.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.6874, allocations: 8.031 kB / 0.7249 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009615/0.6884, allocations: 183.4 kB / 0.725 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.6894, allocations: 0.7348 MB / 0.7258 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.6895, allocations: 66 kB / 0.7258 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.6896, allocations: 80 kB / 0.7259 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.6912, allocations: 0.9223 MB / 0.7268 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6912, allocations: 3.938 kB / 0.7268 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.6913, allocations: 32 kB / 0.7268 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.6913, allocations: 23.98 kB / 0.7269 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.6931, allocations: 1.108 MB / 0.7279 GB, free: 2.332 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.00403/0.6972, allocations: 2.729 MB / 0.7306 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.6987, allocations: 0.8969 MB / 0.7315 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.6993, allocations: 302.7 kB / 0.7318 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.944e-05/0.6994, allocations: 32.55 kB / 0.7318 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/0.7003, allocations: 0.4922 MB / 0.7323 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.435e-06/0.7003, allocations: 0 / 0.7323 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003105/0.7034, allocations: 1.194 MB / 0.7334 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.7036, allocations: 188.6 kB / 0.7336 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.7043, allocations: 0.6253 MB / 0.7342 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.7044, allocations: 41.7 kB / 0.7343 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.7047, allocations: 388.3 kB / 0.7346 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.7049, allocations: 256.4 kB / 0.7349 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.7052, allocations: 166.4 kB / 0.735 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7053, allocations: 390.7 kB / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.7059, allocations: 265.9 kB / 0.7357 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.7065, allocations: 367 kB / 0.736 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.7076, allocations: 0.6033 MB / 0.7366 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7076, allocations: 4 kB / 0.7366 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001939/0.7095, allocations: 0.8372 MB / 0.7374 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7096, allocations: 7.844 kB / 0.7374 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7096, allocations: 4 kB / 0.7374 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006748/0.7103, allocations: 85.67 kB / 0.7375 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.7109, allocations: 159.7 kB / 0.7377 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.7132, allocations: 1.648 MB / 0.7393 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.714, allocations: 96.2 kB / 0.7394 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.7141, allocations: 39.97 kB / 0.7394 GB, free: 6.133 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.0004637/0.7146, allocations: 275.4 kB / 0.7397 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.7148, allocations: 79.06 kB / 0.7398 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.7172, allocations: 1.058 MB / 0.7408 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.7172, allocations: 11.94 kB / 0.7408 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.7172, allocations: 4 kB / 0.7408 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7172, allocations: 7.922 kB / 0.7408 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/0.7205, allocations: 1.963 MB / 0.7427 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7205, allocations: 0 / 0.7427 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.7211, allocations: 139.8 kB / 0.7429 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.7216, allocations: 72.73 kB / 0.7429 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.7217, allocations: 27.97 kB / 0.743 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.7236, allocations: 1.666 MB / 0.7446 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7236, allocations: 0.8594 kB / 0.7446 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.7257, allocations: 0.9938 MB / 0.7456 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.726, allocations: 275.8 kB / 0.7458 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.7262, allocations: 20 kB / 0.7458 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006913/0.7269, allocations: 63.84 kB / 0.7459 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.7271, allocations: 68.89 kB / 0.746 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.7271, allocations: 35.98 kB / 0.746 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005532/0.7277, allocations: 459 kB / 0.7464 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7277, allocations: 0 / 0.7464 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008883/0.7286, allocations: 319.3 kB / 0.7467 GB, free: 14.36 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.001356/0.73, allocations: 0.5912 MB / 0.7473 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.7323, allocations: 1.03 MB / 0.7483 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.7324, allocations: 7.984 kB / 0.7483 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.7333, allocations: 0.5081 MB / 0.7488 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.7346, allocations: 317.7 kB / 0.7491 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.7379, allocations: 2.05 MB / 0.7511 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.7386, allocations: 1.019 MB / 0.7521 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009315/0.7395, allocations: 258.6 kB / 0.7524 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.7398, allocations: 107.4 kB / 0.7525 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7398, allocations: 0 / 0.7525 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of Templates: time 0.02496/0.7648, allocations: 15.05 MB / 0.7672 GB, free: 9.742 MB / 0.5919 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)