Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004727/0.004727, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001059/0.001059, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 283 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9561/0.9561, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 95.84 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1491, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005292/0.1544, allocations: 4.465 MB / 0.7707 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4951/0.6495, allocations: 150.8 MB / 0.918 GB, free: 7.359 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.6505, allocations: 21.09 kB / 0.918 GB, free: 7.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.6511, allocations: 177.5 kB / 0.9181 GB, free: 7.168 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.6527, allocations: 0.5252 MB / 0.9187 GB, free: 6.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.6545, allocations: 0.8468 MB / 0.9195 GB, free: 5.844 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.6557, allocations: 1.371 MB / 0.9208 GB, free: 4.465 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.6565, allocations: 0.6286 MB / 0.9214 GB, free: 3.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005609/0.6571, allocations: 0.4982 MB / 0.9219 GB, free: 3.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.6576, allocations: 0.5289 MB / 0.9224 GB, free: 2.789 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.6577, allocations: 120 kB / 0.9226 GB, free: 2.672 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007891/0.6585, allocations: 489.4 kB / 0.923 GB, free: 2.195 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.6588, allocations: 307 kB / 0.9233 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.6592, allocations: 0.5713 MB / 0.9239 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.6607, allocations: 1.661 MB / 0.9255 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6607, allocations: 3.938 kB / 0.9255 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6607, allocations: 0 / 0.9255 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.6607, allocations: 4 kB / 0.9255 GB, free: 15.66 MB / 0.6856 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.002285/0.663, allocations: 1.46 MB / 0.9269 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.663, allocations: 12.03 kB / 0.9269 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.6639, allocations: 188.8 kB / 0.9271 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.6649, allocations: 0.7861 MB / 0.9279 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.153e-05/0.665, allocations: 66 kB / 0.928 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.6651, allocations: 84 kB / 0.928 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.6666, allocations: 0.9691 MB / 0.929 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.6666, allocations: 0 / 0.929 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.6667, allocations: 36 kB / 0.929 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.6667, allocations: 20 kB / 0.929 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.6684, allocations: 1.163 MB / 0.9302 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.672, allocations: 2.64 MB / 0.9327 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.6735, allocations: 0.8578 MB / 0.9336 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.674, allocations: 314.7 kB / 0.9339 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-05/0.6741, allocations: 36.67 kB / 0.9339 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008287/0.675, allocations: 0.532 MB / 0.9344 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 2.554e-06/0.675, allocations: 4 kB / 0.9344 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.00309/0.6781, allocations: 1.282 MB / 0.9357 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/0.6782, allocations: 192.9 kB / 0.9359 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/0.6789, allocations: 0.6566 MB / 0.9365 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.679, allocations: 45.7 kB / 0.9366 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.6792, allocations: 404.4 kB / 0.9369 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.6794, allocations: 283.9 kB / 0.9372 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.6797, allocations: 182.5 kB / 0.9374 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6798, allocations: 386.8 kB / 0.9378 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.6803, allocations: 293.8 kB / 0.938 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.681, allocations: 391 kB / 0.9384 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.6821, allocations: 0.6555 MB / 0.9391 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6821, allocations: 0 / 0.9391 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001917/0.6841, allocations: 0.919 MB / 0.94 GB, free: 500 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6841, allocations: 14.12 kB / 0.94 GB, free: 488 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.6841, allocations: 3.938 kB / 0.94 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.6847, allocations: 80.84 kB / 0.94 GB, free: 400 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.6854, allocations: 179.7 kB / 0.9402 GB, free: 220 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.6873, allocations: 1.63 MB / 0.9418 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.6881, allocations: 103.4 kB / 0.9419 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.6881, allocations: 35.97 kB / 0.9419 GB, free: 14.31 MB / 0.7012 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.0003932/0.6885, allocations: 279.7 kB / 0.9422 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6887, allocations: 86.88 kB / 0.9423 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.6911, allocations: 1.165 MB / 0.9434 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6911, allocations: 15.94 kB / 0.9434 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6911, allocations: 0 / 0.9434 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.6911, allocations: 3.984 kB / 0.9435 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009138/0.692, allocations: 0.9269 MB / 0.9444 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6921, allocations: 4 kB / 0.9444 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.6926, allocations: 155.8 kB / 0.9445 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.6931, allocations: 76.77 kB / 0.9446 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.6932, allocations: 23.98 kB / 0.9446 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.6949, allocations: 1.666 MB / 0.9462 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6949, allocations: 0 / 0.9462 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.6967, allocations: 0.998 MB / 0.9472 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.6971, allocations: 279.7 kB / 0.9475 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.6972, allocations: 19.94 kB / 0.9475 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.6978, allocations: 71.92 kB / 0.9476 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.698, allocations: 79.17 kB / 0.9476 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-05/0.698, allocations: 43.97 kB / 0.9477 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005119/0.6986, allocations: 479 kB / 0.9481 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6986, allocations: 0 / 0.9481 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007619/0.6993, allocations: 331.2 kB / 0.9485 GB, free: 7.391 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.7006, allocations: 0.6127 MB / 0.949 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.7022, allocations: 0.8907 MB / 0.9499 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7022, allocations: 4.188 kB / 0.9499 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/0.7031, allocations: 0.547 MB / 0.9505 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.7041, allocations: 302.6 kB / 0.9507 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.7076, allocations: 1.83 MB / 0.9525 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.7081, allocations: 1.039 MB / 0.9535 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007377/0.7089, allocations: 267.1 kB / 0.9538 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.7092, allocations: 119.4 kB / 0.9539 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of SimCode: time 3.2e-07/0.7092, allocations: 0 / 0.9539 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of Templates: time 0.02427/0.7334, allocations: 16.02 MB / 0.9696 GB, free: 2.094 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)