Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 103 kB / 15.99 MB, free: 6.352 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.001119/0.001119, allocations: 195.9 kB / 16.91 MB, free: 6.191 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7487/0.7487, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.91 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3911, allocations: 77.93 MB / 0.5667 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005634/0.3968, allocations: 4.962 MB / 0.5716 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1667/0.5635, allocations: 148.6 MB / 0.7167 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.5648, allocations: 15.94 kB / 0.7167 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.5654, allocations: 154.7 kB / 0.7168 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.5678, allocations: 0.5118 MB / 0.7173 GB, free: 404 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.5699, allocations: 0.754 MB / 0.7181 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.5718, allocations: 1.444 MB / 0.7195 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009358/0.5728, allocations: 0.5949 MB / 0.7201 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008074/0.5736, allocations: 0.4982 MB / 0.7206 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.5742, allocations: 0.5368 MB / 0.7211 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.5744, allocations: 124 kB / 0.7212 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009958/0.5754, allocations: 471.6 kB / 0.7216 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.5757, allocations: 307 kB / 0.7219 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000516/0.5762, allocations: 0.5791 MB / 0.7225 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.5781, allocations: 1.647 MB / 0.7241 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5781, allocations: 4 kB / 0.7241 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5782, allocations: 0 / 0.7241 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.5782, allocations: 0 / 0.7241 GB, free: 9.414 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002719/0.5809, allocations: 1.48 MB / 0.7256 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.581, allocations: 8.031 kB / 0.7256 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/0.5819, allocations: 191.4 kB / 0.7257 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.583, allocations: 0.7584 MB / 0.7265 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.5831, allocations: 70 kB / 0.7266 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.5832, allocations: 87.98 kB / 0.7266 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5849, allocations: 0.9613 MB / 0.7276 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.5849, allocations: 0 / 0.7276 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.585, allocations: 40 kB / 0.7276 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.5851, allocations: 24 kB / 0.7276 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.5869, allocations: 1.155 MB / 0.7288 GB, free: 4.516 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.00436/0.5913, allocations: 2.895 MB / 0.7316 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.5928, allocations: 0.8487 MB / 0.7324 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.5933, allocations: 322.7 kB / 0.7327 GB, free: 340 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.267e-05/0.5934, allocations: 40.67 kB / 0.7328 GB, free: 296 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/0.5944, allocations: 0.5237 MB / 0.7333 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.404e-06/0.5944, allocations: 4 kB / 0.7333 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003353/0.5978, allocations: 1.294 MB / 0.7345 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/0.5979, allocations: 196.9 kB / 0.7347 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.5987, allocations: 0.6566 MB / 0.7354 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.5988, allocations: 45.7 kB / 0.7354 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.5992, allocations: 404.4 kB / 0.7358 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.5994, allocations: 280 kB / 0.7361 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.5997, allocations: 186.4 kB / 0.7363 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5999, allocations: 390.8 kB / 0.7366 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.6004, allocations: 285.8 kB / 0.7369 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.6011, allocations: 399 kB / 0.7373 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.6023, allocations: 0.6555 MB / 0.7379 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.6023, allocations: 3.938 kB / 0.7379 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002108/0.6044, allocations: 0.9113 MB / 0.7388 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6044, allocations: 7.938 kB / 0.7388 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.6044, allocations: 0 / 0.7388 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.6051, allocations: 84.83 kB / 0.7389 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/0.6058, allocations: 183.7 kB / 0.7391 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.608, allocations: 1.63 MB / 0.7407 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008705/0.6088, allocations: 103.3 kB / 0.7408 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.6089, allocations: 47.84 kB / 0.7408 GB, free: 7.738 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 (105): * Single equations (assignments): 104 * 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.0004756/0.6094, allocations: 275.7 kB / 0.7411 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.6096, allocations: 82.97 kB / 0.7412 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.6122, allocations: 1.175 MB / 0.7423 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.6122, allocations: 12 kB / 0.7423 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6123, allocations: 0 / 0.7423 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6123, allocations: 3.984 kB / 0.7423 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.6134, allocations: 0.9346 MB / 0.7432 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6134, allocations: 0 / 0.7432 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.6141, allocations: 155.8 kB / 0.7434 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.6146, allocations: 76.72 kB / 0.7435 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.6146, allocations: 31.91 kB / 0.7435 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.6166, allocations: 1.654 MB / 0.7451 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6166, allocations: 0 / 0.7451 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.6187, allocations: 0.9941 MB / 0.7461 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.6192, allocations: 279.7 kB / 0.7463 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.6193, allocations: 39.89 kB / 0.7464 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.6201, allocations: 71.81 kB / 0.7464 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.6203, allocations: 80.88 kB / 0.7465 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.6203, allocations: 31.98 kB / 0.7465 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006475/0.621, allocations: 479 kB / 0.747 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.621, allocations: 4 kB / 0.747 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009058/0.6219, allocations: 339.2 kB / 0.7473 GB, free: 0.793 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.00141/0.6233, allocations: 0.6119 MB / 0.7479 GB, free: 404 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2566/0.8799, allocations: 1.103 MB / 0.749 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.88, allocations: 2.781 kB / 0.749 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.8812, allocations: 0.5508 MB / 0.7495 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.8827, allocations: 298.2 kB / 0.7498 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.8862, allocations: 2.161 MB / 0.7519 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.8869, allocations: 1.044 MB / 0.753 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00106/0.8879, allocations: 277.7 kB / 0.7532 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.8883, allocations: 113.3 kB / 0.7533 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.453e-06/0.8883, allocations: 0 / 0.7533 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02791/0.9162, allocations: 15.81 MB / 0.7688 GB, free: 163.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)