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.001556/0.001556, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.00149/0.00149, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.708/0.708, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4097, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005712/0.4155, allocations: 4.893 MB / 0.5623 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1543/0.5698, allocations: 150.6 MB / 0.7095 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.5707, allocations: 23.81 kB / 0.7095 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.5713, allocations: 190.2 kB / 0.7097 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.573, allocations: 0.5509 MB / 0.7102 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.575, allocations: 0.8516 MB / 0.711 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.5763, allocations: 1.429 MB / 0.7124 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.5771, allocations: 0.5948 MB / 0.713 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.5777, allocations: 0.4944 MB / 0.7135 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.5782, allocations: 0.5211 MB / 0.714 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.5784, allocations: 120 kB / 0.7141 GB, free: 3.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008561/0.5792, allocations: 483.6 kB / 0.7146 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.5795, allocations: 307 kB / 0.7149 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.58, allocations: 0.5674 MB / 0.7154 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.5815, allocations: 1.666 MB / 0.717 GB, free: 0.668 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5816, allocations: 0 / 0.717 GB, free: 0.668 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5816, allocations: 0 / 0.717 GB, free: 0.668 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.5816, allocations: 0 / 0.717 GB, free: 0.668 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.002456/0.584, allocations: 1.463 MB / 0.7185 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.5841, allocations: 8.031 kB / 0.7185 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008756/0.585, allocations: 187.4 kB / 0.7187 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5861, allocations: 0.7741 MB / 0.7194 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.5862, allocations: 66 kB / 0.7195 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5863, allocations: 79.98 kB / 0.7196 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.5878, allocations: 0.9456 MB / 0.7205 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.5879, allocations: 4 kB / 0.7205 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.5879, allocations: 40 kB / 0.7205 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.588, allocations: 20 kB / 0.7205 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.5897, allocations: 1.124 MB / 0.7216 GB, free: 11.83 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.003863/0.5936, allocations: 2.731 MB / 0.7243 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.5951, allocations: 0.9032 MB / 0.7252 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.5957, allocations: 314.7 kB / 0.7255 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.187e-05/0.5958, allocations: 32.69 kB / 0.7255 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008411/0.5966, allocations: 0.5148 MB / 0.726 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.245e-06/0.5966, allocations: 0 / 0.726 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003275/0.5999, allocations: 1.255 MB / 0.7272 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6, allocations: 192.9 kB / 0.7274 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.6008, allocations: 0.6525 MB / 0.7281 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/0.6009, allocations: 41.7 kB / 0.7281 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.6012, allocations: 400.4 kB / 0.7285 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.6014, allocations: 276.1 kB / 0.7287 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.6016, allocations: 170.4 kB / 0.7289 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6018, allocations: 386.7 kB / 0.7293 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.6023, allocations: 273.9 kB / 0.7295 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/0.603, allocations: 383.1 kB / 0.7299 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.6041, allocations: 0.6242 MB / 0.7305 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6041, allocations: 0 / 0.7305 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001976/0.6061, allocations: 0.8761 MB / 0.7314 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6062, allocations: 4 kB / 0.7314 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6062, allocations: 7.938 kB / 0.7314 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.6068, allocations: 80.88 kB / 0.7315 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.6075, allocations: 167.8 kB / 0.7316 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.6095, allocations: 1.634 MB / 0.7332 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/0.6103, allocations: 93.84 kB / 0.7333 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.6104, allocations: 39.97 kB / 0.7333 GB, free: 15.39 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: 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.0004117/0.6108, allocations: 271.8 kB / 0.7336 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.6109, allocations: 82.97 kB / 0.7337 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.6134, allocations: 1.136 MB / 0.7348 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.6134, allocations: 11.94 kB / 0.7348 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6135, allocations: 0 / 0.7348 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6135, allocations: 3.984 kB / 0.7348 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.6167, allocations: 2.018 MB / 0.7368 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6167, allocations: 4 kB / 0.7368 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.6174, allocations: 151.8 kB / 0.7369 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/0.6178, allocations: 72.72 kB / 0.737 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.6179, allocations: 27.98 kB / 0.737 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.6197, allocations: 1.662 MB / 0.7386 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6198, allocations: 0 / 0.7386 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.6218, allocations: 1.056 MB / 0.7397 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.6222, allocations: 279.7 kB / 0.7399 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.6224, allocations: 27.91 kB / 0.74 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.6231, allocations: 63.92 kB / 0.74 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.6232, allocations: 76.89 kB / 0.7401 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.6233, allocations: 39.97 kB / 0.7401 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005615/0.6239, allocations: 463 kB / 0.7406 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6239, allocations: 3.938 kB / 0.7406 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008577/0.6247, allocations: 331.3 kB / 0.7409 GB, free: 7.371 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.001276/0.626, allocations: 0.5928 MB / 0.7415 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.6277, allocations: 0.8703 MB / 0.7423 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6277, allocations: 0 / 0.7423 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009522/0.6287, allocations: 0.5432 MB / 0.7429 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.6298, allocations: 299 kB / 0.7431 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.6327, allocations: 1.7 MB / 0.7448 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.6334, allocations: 1.036 MB / 0.7458 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007321/0.6342, allocations: 266.9 kB / 0.7461 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.6344, allocations: 119.4 kB / 0.7462 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.6344, allocations: 0 / 0.7462 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of Templates: time 0.2604/0.8949, allocations: 15.59 MB / 0.7614 GB, free: 171.6 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)