Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.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.00164/0.00164, allocations: 110.5 kB / 16.41 MB, free: 6.52 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.001621/0.001621, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7047, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005007/0.7098, allocations: 4.31 MB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1656/0.8754, allocations: 150.5 MB / 1.24 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.8765, allocations: 14.75 kB / 1.24 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.8773, allocations: 176.9 kB / 1.24 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.8791, allocations: 0.5078 MB / 1.24 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.8813, allocations: 0.8384 MB / 1.241 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.8828, allocations: 1.3 MB / 1.243 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008512/0.8836, allocations: 0.6282 MB / 1.243 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007023/0.8844, allocations: 480.2 kB / 1.244 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.8849, allocations: 496.9 kB / 1.244 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.8851, allocations: 117.4 kB / 1.244 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.8861, allocations: 486 kB / 1.245 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.8864, allocations: 300.6 kB / 1.245 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.8869, allocations: 0.5379 MB / 1.246 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.8886, allocations: 1.618 MB / 1.247 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8886, allocations: 0 / 1.247 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8886, allocations: 3.938 kB / 1.247 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.8886, allocations: 8 kB / 1.247 GB, free: 11.4 MB / 0.9825 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.00229/0.8909, allocations: 1.397 MB / 1.248 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.891, allocations: 8.031 kB / 1.248 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009095/0.8919, allocations: 191.4 kB / 1.249 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.893, allocations: 0.7578 MB / 1.249 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.8931, allocations: 62 kB / 1.249 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.8932, allocations: 80 kB / 1.25 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.8947, allocations: 0.93 MB / 1.25 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.8947, allocations: 0 / 1.25 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.8948, allocations: 36 kB / 1.25 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.8948, allocations: 20 kB / 1.25 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.8966, allocations: 1.108 MB / 1.252 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.9002, allocations: 2.492 MB / 1.254 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.9017, allocations: 0.8846 MB / 1.255 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.9022, allocations: 302.7 kB / 1.255 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.36e-05/0.9023, allocations: 36.59 kB / 1.255 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008082/0.9031, allocations: 495.1 kB / 1.256 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.104e-06/0.9031, allocations: 0 / 1.256 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003012/0.9061, allocations: 1.194 MB / 1.257 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.9062, allocations: 188.6 kB / 1.257 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.9069, allocations: 0.6292 MB / 1.258 GB, free: 304 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.907, allocations: 41.7 kB / 1.258 GB, free: 256 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.9073, allocations: 392.3 kB / 1.258 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.9075, allocations: 260.3 kB / 1.258 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.9077, allocations: 162.5 kB / 1.258 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9079, allocations: 386.7 kB / 1.259 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.9084, allocations: 265.9 kB / 1.259 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.909, allocations: 371.1 kB / 1.259 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.9101, allocations: 0.6033 MB / 1.26 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.9101, allocations: 4 kB / 1.26 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00189/0.912, allocations: 0.8487 MB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.912, allocations: 4 kB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.912, allocations: 4 kB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.9126, allocations: 84.86 kB / 1.261 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/0.9133, allocations: 159.7 kB / 1.261 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.9154, allocations: 1.644 MB / 1.263 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.9161, allocations: 87.33 kB / 1.263 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.9162, allocations: 35.97 kB / 1.263 GB, free: 10.77 MB / 0.9981 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.0003756/0.9166, allocations: 275.4 kB / 1.263 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.9167, allocations: 79.06 kB / 1.263 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.919, allocations: 1.065 MB / 1.264 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.9191, allocations: 7.984 kB / 1.264 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.9191, allocations: 4 kB / 1.264 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.9194, allocations: 275.8 kB / 1.264 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.9196, allocations: 19.91 kB / 1.264 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.9203, allocations: 63.92 kB / 1.265 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.9204, allocations: 68.91 kB / 1.265 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002067/0.9225, allocations: 0.9475 MB / 1.266 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00223/0.9247, allocations: 1.41 MB / 1.267 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005942/0.9253, allocations: 351.8 kB / 1.267 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005196/0.9259, allocations: 459 kB / 1.268 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of Backend: time 4.81e-07/0.9259, allocations: 0 / 1.268 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.929, allocations: 1.262 MB / 1.269 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002906/0.932, allocations: 2.014 MB / 1.271 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of Templates: time 0.0265/0.9585, allocations: 16.17 MB / 1.287 GB, free: 2.59 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)