Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.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.001559/0.001565, allocations: 114.8 kB / 16.42 MB, free: 6.008 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.001905/0.001905, allocations: 184.9 kB / 17.35 MB, free: 5.625 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.417/2.417, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 63.89 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7889, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006578/0.7955, allocations: 4.979 MB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1492/0.9448, allocations: 150.8 MB / 1.319 GB, free: 7.621 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007657/0.9456, allocations: 15.94 kB / 1.319 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.9462, allocations: 198.1 kB / 1.32 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.9481, allocations: 0.5797 MB / 1.32 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.95, allocations: 0.8483 MB / 1.321 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.9515, allocations: 1.452 MB / 1.322 GB, free: 4.527 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007863/0.9523, allocations: 0.5949 MB / 1.323 GB, free: 3.906 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005899/0.9529, allocations: 0.51 MB / 1.324 GB, free: 3.395 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.9534, allocations: 0.5389 MB / 1.324 GB, free: 2.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.9536, allocations: 120 kB / 1.324 GB, free: 2.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008088/0.9544, allocations: 495.6 kB / 1.325 GB, free: 2.254 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.9547, allocations: 307 kB / 1.325 GB, free: 1.953 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.9552, allocations: 0.583 MB / 1.325 GB, free: 1.367 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.9567, allocations: 1.686 MB / 1.327 GB, free: 15.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.9567, allocations: 0 / 1.327 GB, free: 15.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9567, allocations: 0 / 1.327 GB, free: 15.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.9567, allocations: 0 / 1.327 GB, free: 15.68 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002458/0.9592, allocations: 1.476 MB / 1.329 GB, free: 14.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.9592, allocations: 8.031 kB / 1.329 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009139/0.9602, allocations: 191.3 kB / 1.329 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.9613, allocations: 0.7818 MB / 1.33 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.9614, allocations: 69.98 kB / 1.33 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.9615, allocations: 84 kB / 1.33 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.9631, allocations: 0.9691 MB / 1.331 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.9631, allocations: 4 kB / 1.331 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/0.9632, allocations: 39.98 kB / 1.331 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.9632, allocations: 27.94 kB / 1.331 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.965, allocations: 1.147 MB / 1.332 GB, free: 10.75 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.003998/0.969, allocations: 2.858 MB / 1.335 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.9705, allocations: 0.8394 MB / 1.335 GB, free: 6.938 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.9711, allocations: 318.7 kB / 1.336 GB, free: 6.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/0.9712, allocations: 40.67 kB / 1.336 GB, free: 6.586 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008816/0.9721, allocations: 0.5353 MB / 1.336 GB, free: 6.031 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 2.474e-06/0.9721, allocations: 0 / 1.336 GB, free: 6.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.003319/0.9754, allocations: 1.298 MB / 1.338 GB, free: 4.703 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.9755, allocations: 192.9 kB / 1.338 GB, free: 4.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/0.9763, allocations: 0.6605 MB / 1.338 GB, free: 3.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.9764, allocations: 45.69 kB / 1.338 GB, free: 3.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.9767, allocations: 404.4 kB / 1.339 GB, free: 3.348 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.9769, allocations: 284 kB / 1.339 GB, free: 3.066 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.9772, allocations: 182.5 kB / 1.339 GB, free: 2.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9773, allocations: 390.8 kB / 1.34 GB, free: 2.492 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.9779, allocations: 293.8 kB / 1.34 GB, free: 2.203 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/0.9785, allocations: 391.1 kB / 1.34 GB, free: 1.809 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.9797, allocations: 0.6594 MB / 1.341 GB, free: 1.141 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9797, allocations: 4.062 kB / 1.341 GB, free: 1.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002034/0.9818, allocations: 0.919 MB / 1.342 GB, free: 208 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.9818, allocations: 15.92 kB / 1.342 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9818, allocations: 0 / 1.342 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.9824, allocations: 80.78 kB / 1.342 GB, free: 108 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.9832, allocations: 179.8 kB / 1.342 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.9853, allocations: 1.631 MB / 1.344 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/0.9861, allocations: 99.22 kB / 1.344 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.9862, allocations: 39.97 kB / 1.344 GB, free: 14.02 MB / 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: 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.0005384/0.9867, allocations: 280.5 kB / 1.344 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.9869, allocations: 86.95 kB / 1.344 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.9895, allocations: 1.156 MB / 1.345 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.9895, allocations: 7.969 kB / 1.345 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.9895, allocations: 0 / 1.345 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.9899, allocations: 279.7 kB / 1.346 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.9901, allocations: 31.91 kB / 1.346 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.9907, allocations: 70.11 kB / 1.346 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.9909, allocations: 76.89 kB / 1.346 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002195/0.9931, allocations: 1.022 MB / 1.347 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002387/0.9955, allocations: 1.5 MB / 1.348 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006196/0.9961, allocations: 383.8 kB / 1.349 GB, free: 9.082 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005663/0.9967, allocations: 479 kB / 1.349 GB, free: 8.617 MB / 1.076 GB Notification: Performance of Backend: time 4.61e-07/0.9967, allocations: 0 / 1.349 GB, free: 8.617 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003305/1, allocations: 1.307 MB / 1.35 GB, free: 7.496 MB / 1.076 GB Notification: Performance of SimCode: time 0.003014/1.003, allocations: 2.125 MB / 1.352 GB, free: 5.34 MB / 1.076 GB Notification: Performance of Templates: time 0.02746/1.031, allocations: 17.37 MB / 1.369 GB, free: 4.082 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)