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.00108/0.00108, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001732/0.001732, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.333/1.333, 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 10.1.1-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6753, allocations: 151.7 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008077/0.6834, allocations: 6.945 MB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1507/0.8341, allocations: 151.3 MB / 1.322 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.8355, allocations: 15.94 kB / 1.322 GB, free: 4.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.8366, allocations: 265.4 kB / 1.322 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.8393, allocations: 0.8017 MB / 1.323 GB, free: 3.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.8418, allocations: 0.9931 MB / 1.324 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002764/0.8446, allocations: 2.144 MB / 1.326 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.8461, allocations: 1.026 MB / 1.327 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.8473, allocations: 0.8526 MB / 1.328 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.8485, allocations: 0.9024 MB / 1.329 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004539/0.849, allocations: 208 kB / 1.329 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.8502, allocations: 0.566 MB / 1.329 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005447/0.8508, allocations: 490.4 kB / 1.33 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.8519, allocations: 0.9486 MB / 1.331 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.8547, allocations: 2.564 MB / 1.333 GB, free: 9.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8547, allocations: 0 / 1.333 GB, free: 9.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.467e-06/0.8547, allocations: 0 / 1.333 GB, free: 9.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.822e-05/0.8548, allocations: 7.938 kB / 1.333 GB, free: 9.172 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.004814/0.8596, allocations: 2.054 MB / 1.335 GB, free: 7.051 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.8597, allocations: 20.86 kB / 1.335 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.8609, allocations: 250.6 kB / 1.336 GB, free: 6.785 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.8627, allocations: 1 MB / 1.337 GB, free: 5.738 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.8628, allocations: 119.1 kB / 1.337 GB, free: 5.621 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.863, allocations: 152 kB / 1.337 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.8657, allocations: 1.576 MB / 1.338 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.8657, allocations: 0 / 1.338 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.8659, allocations: 68 kB / 1.338 GB, free: 3.773 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.8659, allocations: 40 kB / 1.338 GB, free: 3.734 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.8686, allocations: 1.635 MB / 1.34 GB, free: 2.094 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.00689/0.8755, allocations: 4.521 MB / 1.344 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.8776, allocations: 1.189 MB / 1.346 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/0.8784, allocations: 479.6 kB / 1.346 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.8785, allocations: 53.06 kB / 1.346 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.8798, allocations: 0.7784 MB / 1.347 GB, free: 10.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=128): time 3.988e-06/0.8798, allocations: 0 / 1.347 GB, free: 10.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=128): time 0.004369/0.8842, allocations: 1.846 MB / 1.349 GB, free: 9.012 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.8843, allocations: 201.2 kB / 1.349 GB, free: 8.773 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.8855, allocations: 0.8653 MB / 1.35 GB, free: 7.883 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.8856, allocations: 53.7 kB / 1.35 GB, free: 7.824 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.886, allocations: 0.6015 MB / 1.35 GB, free: 7.211 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.8864, allocations: 410.1 kB / 1.351 GB, free: 6.805 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.8868, allocations: 254.7 kB / 1.351 GB, free: 6.547 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8869, allocations: 357.9 kB / 1.351 GB, free: 6.191 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.8878, allocations: 454.4 kB / 1.352 GB, free: 5.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009936/0.8888, allocations: 0.5648 MB / 1.352 GB, free: 5.168 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.8906, allocations: 0.9858 MB / 1.353 GB, free: 4.176 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.8906, allocations: 0 / 1.353 GB, free: 4.176 MB / 1.076 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00291/0.8935, allocations: 1.348 MB / 1.355 GB, free: 2.816 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.8935, allocations: 4 kB / 1.355 GB, free: 2.812 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.8935, allocations: 4 kB / 1.355 GB, free: 2.809 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.8941, allocations: 80.95 kB / 1.355 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.8953, allocations: 275.5 kB / 1.355 GB, free: 2.457 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.8974, allocations: 1.649 MB / 1.357 GB, free: 0.668 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.8986, allocations: 153.2 kB / 1.357 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.8988, allocations: 64.12 kB / 1.357 GB, free: 468 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.0006435/0.8994, allocations: 345.6 kB / 1.357 GB, free: 112 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.8997, allocations: 114.6 kB / 1.357 GB, free: 15.99 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/0.9034, allocations: 1.709 MB / 1.359 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.9035, allocations: 7.969 kB / 1.359 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9035, allocations: 0 / 1.359 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.904, allocations: 371.1 kB / 1.359 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.9043, allocations: 39.84 kB / 1.359 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.9053, allocations: 83.91 kB / 1.359 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.9056, allocations: 121 kB / 1.359 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003133/0.9087, allocations: 1.42 MB / 1.361 GB, free: 12.21 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003519/0.9123, allocations: 2.116 MB / 1.363 GB, free: 10.08 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009207/0.9132, allocations: 0.5607 MB / 1.363 GB, free: 9.516 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009092/0.9141, allocations: 0.6464 MB / 1.364 GB, free: 8.859 MB / 1.092 GB Notification: Performance of Backend: time 8.12e-07/0.9141, allocations: 0 / 1.364 GB, free: 8.859 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004015/0.9181, allocations: 1.554 MB / 1.366 GB, free: 7.492 MB / 1.092 GB Notification: Performance of SimCode: time 0.004339/0.9225, allocations: 2.83 MB / 1.368 GB, free: 4.621 MB / 1.092 GB Notification: Performance of Templates: time 0.0369/0.9594, allocations: 23.9 MB / 1.392 GB, free: 12.88 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)