Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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/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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 119.9 kB / 16.42 MB, free: 6.488 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.001841/0.001841, allocations: 186.6 kB / 17.35 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 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.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 71.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6892, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00594/0.6952, allocations: 5.452 MB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1656/0.8608, allocations: 151.1 MB / 1.241 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.8621, allocations: 23 kB / 1.241 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.863, allocations: 215.8 kB / 1.242 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.8656, allocations: 0.6883 MB / 1.242 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.8681, allocations: 0.991 MB / 1.243 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.8706, allocations: 1.896 MB / 1.245 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.8721, allocations: 1.069 MB / 1.246 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.8732, allocations: 0.8151 MB / 1.247 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.8744, allocations: 0.8634 MB / 1.248 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003841/0.8748, allocations: 212 kB / 1.248 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.8759, allocations: 0.566 MB / 1.249 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004491/0.8764, allocations: 490.4 kB / 1.249 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008613/0.8773, allocations: 0.9056 MB / 1.25 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.8796, allocations: 2.49 MB / 1.252 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.8796, allocations: 0 / 1.252 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8796, allocations: 0 / 1.252 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.8796, allocations: 0 / 1.252 GB, free: 5.961 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00351/0.8831, allocations: 2.029 MB / 1.254 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.8832, allocations: 8.031 kB / 1.254 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009848/0.8842, allocations: 254.6 kB / 1.255 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.8855, allocations: 0.9966 MB / 1.256 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/0.8856, allocations: 115.1 kB / 1.256 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.8858, allocations: 148 kB / 1.256 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.8883, allocations: 1.584 MB / 1.257 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.8883, allocations: 0 / 1.257 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.8885, allocations: 63.98 kB / 1.257 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.8885, allocations: 40 kB / 1.258 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.8911, allocations: 1.635 MB / 1.259 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005986/0.8971, allocations: 4.087 MB / 1.263 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.8991, allocations: 1.194 MB / 1.264 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/0.8999, allocations: 475.7 kB / 1.265 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-05/0.9001, allocations: 49.06 kB / 1.265 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.9013, allocations: 0.7783 MB / 1.266 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.427e-06/0.9014, allocations: 0 / 1.266 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004251/0.9056, allocations: 1.834 MB / 1.267 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.9057, allocations: 193.2 kB / 1.268 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.9067, allocations: 0.8692 MB / 1.268 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.609e-05/0.9068, allocations: 49.7 kB / 1.268 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.9073, allocations: 0.6093 MB / 1.269 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.9076, allocations: 410.1 kB / 1.269 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.9079, allocations: 258.7 kB / 1.27 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9081, allocations: 349.9 kB / 1.27 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/0.9089, allocations: 450.4 kB / 1.27 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009673/0.9099, allocations: 0.5648 MB / 1.271 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.9116, allocations: 0.9818 MB / 1.272 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9117, allocations: 0 / 1.272 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002766/0.9144, allocations: 1.332 MB / 1.273 GB, free: 224 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.9145, allocations: 8.094 kB / 1.273 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9145, allocations: 0 / 1.273 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/0.9151, allocations: 84.78 kB / 1.273 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.9162, allocations: 271.6 kB / 1.274 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.9183, allocations: 1.646 MB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.9194, allocations: 143 kB / 1.275 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.9195, allocations: 59.94 kB / 1.275 GB, free: 13.87 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0005864/0.9201, allocations: 357.5 kB / 1.276 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.9204, allocations: 122.5 kB / 1.276 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.924, allocations: 1.698 MB / 1.277 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.9241, allocations: 7.969 kB / 1.277 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.9241, allocations: 4.047 kB / 1.277 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.9246, allocations: 375 kB / 1.278 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.9248, allocations: 35.84 kB / 1.278 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009728/0.9258, allocations: 87.91 kB / 1.278 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.926, allocations: 117.1 kB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00297/0.929, allocations: 1.42 MB / 1.279 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003399/0.9324, allocations: 2.124 MB / 1.282 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008984/0.9333, allocations: 0.5609 MB / 1.282 GB, free: 6.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008198/0.9342, allocations: 0.6425 MB / 1.283 GB, free: 6.258 MB / 1.014 GB Notification: Performance of Backend: time 5.41e-07/0.9342, allocations: 0 / 1.283 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003657/0.9378, allocations: 1.53 MB / 1.284 GB, free: 4.938 MB / 1.014 GB Notification: Performance of SimCode: time 0.003803/0.9416, allocations: 2.82 MB / 1.287 GB, free: 2.082 MB / 1.014 GB Notification: Performance of Templates: time 0.03503/0.9767, allocations: 23.08 MB / 1.309 GB, free: 11.16 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)