Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00155/0.00155, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001731/0.001731, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 60.09 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7112, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008523/0.7198, allocations: 6.945 MB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.8762, allocations: 151.3 MB / 1.322 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.8775, allocations: 23.88 kB / 1.322 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.8786, allocations: 261.4 kB / 1.322 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.8814, allocations: 0.808 MB / 1.323 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.8839, allocations: 0.9942 MB / 1.324 GB, free: 2.957 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.8865, allocations: 2.148 MB / 1.326 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.8882, allocations: 1.025 MB / 1.327 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.8895, allocations: 0.8487 MB / 1.328 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.8907, allocations: 0.8986 MB / 1.329 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004393/0.8912, allocations: 208 kB / 1.329 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.8924, allocations: 0.5659 MB / 1.329 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.8928, allocations: 494.4 kB / 1.33 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008858/0.8937, allocations: 0.9524 MB / 1.331 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.8964, allocations: 2.577 MB / 1.333 GB, free: 9.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8964, allocations: 4 kB / 1.333 GB, free: 9.176 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8964, allocations: 0 / 1.333 GB, free: 9.176 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.495e-05/0.8964, allocations: 0 / 1.333 GB, free: 9.176 MB / 1.061 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.003627/0.9001, allocations: 2.11 MB / 1.335 GB, free: 6.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.9001, allocations: 11.98 kB / 1.335 GB, free: 6.984 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009865/0.9011, allocations: 267.6 kB / 1.336 GB, free: 6.723 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.9025, allocations: 0.9974 MB / 1.337 GB, free: 5.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.9026, allocations: 115.1 kB / 1.337 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.9027, allocations: 152 kB / 1.337 GB, free: 5.418 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.9052, allocations: 1.588 MB / 1.338 GB, free: 3.773 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.9052, allocations: 0 / 1.338 GB, free: 3.773 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.9054, allocations: 68 kB / 1.338 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.9054, allocations: 40 kB / 1.339 GB, free: 3.668 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.908, allocations: 1.631 MB / 1.34 GB, free: 2.031 MB / 1.061 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.006312/0.9143, allocations: 4.545 MB / 1.345 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.9164, allocations: 1.188 MB / 1.346 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.9172, allocations: 475.7 kB / 1.346 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.9174, allocations: 53.06 kB / 1.346 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.9186, allocations: 0.7883 MB / 1.347 GB, free: 10.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=128): time 2.806e-06/0.9186, allocations: 0 / 1.347 GB, free: 10.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=128): time 0.004292/0.9229, allocations: 1.846 MB / 1.349 GB, free: 8.926 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/0.923, allocations: 201.2 kB / 1.349 GB, free: 8.688 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.924, allocations: 0.8655 MB / 1.35 GB, free: 7.797 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-05/0.9241, allocations: 53.7 kB / 1.35 GB, free: 7.738 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.9246, allocations: 0.6223 MB / 1.35 GB, free: 7.105 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.9249, allocations: 428.4 kB / 1.351 GB, free: 6.684 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.9252, allocations: 258.8 kB / 1.351 GB, free: 6.422 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9254, allocations: 353.9 kB / 1.351 GB, free: 6.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000823/0.9262, allocations: 446.4 kB / 1.352 GB, free: 5.637 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000946/0.9271, allocations: 0.5688 MB / 1.352 GB, free: 5.051 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.9289, allocations: 0.9818 MB / 1.353 GB, free: 4.062 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.9289, allocations: 8 kB / 1.353 GB, free: 4.055 MB / 1.076 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002724/0.9316, allocations: 1.348 MB / 1.355 GB, free: 2.695 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.9317, allocations: 4.109 kB / 1.355 GB, free: 2.691 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9317, allocations: 11.88 kB / 1.355 GB, free: 2.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.9323, allocations: 84.83 kB / 1.355 GB, free: 2.594 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.9334, allocations: 267.6 kB / 1.355 GB, free: 2.332 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.9355, allocations: 1.648 MB / 1.357 GB, free: 0.543 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.9365, allocations: 155.1 kB / 1.357 GB, free: 400 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.9367, allocations: 59.95 kB / 1.357 GB, free: 340 kB / 1.076 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.0005511/0.9372, allocations: 353.7 kB / 1.357 GB, free: 15.97 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.9375, allocations: 123.2 kB / 1.357 GB, free: 15.85 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.9411, allocations: 1.71 MB / 1.359 GB, free: 14.13 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.9411, allocations: 3.984 kB / 1.359 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9411, allocations: 0 / 1.359 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.9416, allocations: 375.8 kB / 1.359 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.9418, allocations: 39.94 kB / 1.359 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009295/0.9427, allocations: 83.91 kB / 1.359 GB, free: 13.62 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.9429, allocations: 113.1 kB / 1.36 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002881/0.9458, allocations: 1.427 MB / 1.361 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003326/0.9492, allocations: 2.121 MB / 1.363 GB, free: 9.934 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008893/0.9501, allocations: 0.5569 MB / 1.364 GB, free: 9.375 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008033/0.9509, allocations: 0.6464 MB / 1.364 GB, free: 8.719 MB / 1.092 GB Notification: Performance of Backend: time 2.6e-07/0.9509, allocations: 0 / 1.364 GB, free: 8.719 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003756/0.9546, allocations: 1.561 MB / 1.366 GB, free: 7.34 MB / 1.092 GB Notification: Performance of SimCode: time 0.004131/0.9588, allocations: 2.883 MB / 1.369 GB, free: 4.418 MB / 1.092 GB Notification: Performance of Templates: time 0.03756/0.9964, allocations: 23.91 MB / 1.392 GB, free: 12.66 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)