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.001434/0.001433, allocations: 106.5 kB / 16.41 MB, free: 6.473 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.001391/0.001391, allocations: 187 kB / 17.34 MB, free: 5.75 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 287.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 96.23 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5624/0.5644, allocations: 86.97 MB / 0.767 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006211/0.5707, allocations: 4.463 MB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1857/0.7564, allocations: 150.8 MB / 0.9186 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.7577, allocations: 19.88 kB / 0.9186 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.7587, allocations: 174.3 kB / 0.9188 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.7614, allocations: 0.534 MB / 0.9193 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.7641, allocations: 0.8391 MB / 0.9201 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002544/0.7666, allocations: 1.382 MB / 0.9215 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.7678, allocations: 0.6297 MB / 0.9221 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009762/0.7688, allocations: 0.4982 MB / 0.9226 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006946/0.7695, allocations: 0.5239 MB / 0.9231 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.7697, allocations: 120 kB / 0.9232 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.7709, allocations: 495.5 kB / 0.9237 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003354/0.7713, allocations: 307.1 kB / 0.924 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005746/0.7719, allocations: 0.5712 MB / 0.9245 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.7742, allocations: 1.65 MB / 0.9262 GB, free: 284 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.7742, allocations: 4 kB / 0.9262 GB, free: 280 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.846e-06/0.7742, allocations: 0 / 0.9262 GB, free: 280 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.7743, allocations: 0 / 0.9262 GB, free: 280 kB / 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.003162/0.7774, allocations: 1.468 MB / 0.9276 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.7775, allocations: 12.03 kB / 0.9276 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/0.7785, allocations: 183.4 kB / 0.9278 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.7799, allocations: 0.7857 MB / 0.9286 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.78, allocations: 73.98 kB / 0.9286 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.7801, allocations: 84 kB / 0.9287 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.7819, allocations: 0.9691 MB / 0.9296 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.782, allocations: 0 / 0.9296 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.782, allocations: 39.98 kB / 0.9297 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.7821, allocations: 24 kB / 0.9297 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.7839, allocations: 1.155 MB / 0.9308 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.7879, allocations: 2.64 MB / 0.9334 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.7895, allocations: 0.8433 MB / 0.9342 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005445/0.79, allocations: 326.7 kB / 0.9345 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-05/0.7901, allocations: 36.67 kB / 0.9346 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008997/0.791, allocations: 0.5275 MB / 0.9351 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.304e-06/0.791, allocations: 0 / 0.9351 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003127/0.7942, allocations: 1.286 MB / 0.9364 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.7943, allocations: 192.9 kB / 0.9365 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.7951, allocations: 0.6528 MB / 0.9372 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.7952, allocations: 45.7 kB / 0.9372 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.7955, allocations: 404.5 kB / 0.9376 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.7958, allocations: 283.8 kB / 0.9379 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.796, allocations: 186.5 kB / 0.9381 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.7962, allocations: 386.8 kB / 0.9384 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.7967, allocations: 285.8 kB / 0.9387 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/0.7974, allocations: 395.1 kB / 0.9391 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.7986, allocations: 0.6632 MB / 0.9397 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7986, allocations: 0 / 0.9397 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002037/0.8006, allocations: 0.919 MB / 0.9406 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.8007, allocations: 10.75 kB / 0.9406 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8007, allocations: 0 / 0.9406 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.8013, allocations: 84.83 kB / 0.9407 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.802, allocations: 179.7 kB / 0.9409 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.8041, allocations: 1.634 MB / 0.9425 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008482/0.805, allocations: 99.34 kB / 0.9426 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.227e-05/0.8051, allocations: 43.91 kB / 0.9426 GB, free: 14.9 MB / 0.7169 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.0006304/0.8057, allocations: 282.2 kB / 0.9429 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.8059, allocations: 90.88 kB / 0.943 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.8084, allocations: 1.156 MB / 0.9441 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.8084, allocations: 12 kB / 0.9441 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.8085, allocations: 0 / 0.9441 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.8085, allocations: 7.969 kB / 0.9441 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.8097, allocations: 0.9347 MB / 0.945 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8097, allocations: 0 / 0.945 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.8103, allocations: 159.8 kB / 0.9452 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.8107, allocations: 64.8 kB / 0.9452 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.8108, allocations: 31.91 kB / 0.9453 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.8126, allocations: 1.654 MB / 0.9469 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8127, allocations: 144 / 0.9469 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.8147, allocations: 1.006 MB / 0.9479 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.8152, allocations: 287.7 kB / 0.9481 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.8153, allocations: 20 kB / 0.9482 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.816, allocations: 71.86 kB / 0.9482 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.8162, allocations: 80.83 kB / 0.9483 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/0.8163, allocations: 39.97 kB / 0.9483 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006713/0.817, allocations: 475 kB / 0.9488 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.817, allocations: 4 kB / 0.9488 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001096/0.8181, allocations: 331.2 kB / 0.9491 GB, free: 7.977 MB / 0.7169 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.001609/0.8197, allocations: 0.6025 MB / 0.9497 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.8217, allocations: 0.8938 MB / 0.9506 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8217, allocations: 4 kB / 0.9506 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009787/0.8227, allocations: 0.5431 MB / 0.9511 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.8239, allocations: 298.8 kB / 0.9514 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.8281, allocations: 1.871 MB / 0.9532 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.8287, allocations: 1.04 MB / 0.9542 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.8291, allocations: 123.4 kB / 0.9544 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 1.212e-06/0.8291, allocations: 0 / 0.9544 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.4936/1.323, allocations: 19.44 MB / 0.9733 GB, free: 178.9 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)