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.001883/0.001883, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001898/0.001898, allocations: 183 kB / 17.34 MB, free: 5.734 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002262/0.002262, allocations: 282.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9908/0.9908, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 91.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5941/0.596, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006954/0.603, allocations: 4.474 MB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2038/0.8068, allocations: 150.8 MB / 0.9186 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.808, allocations: 19.88 kB / 0.9186 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.8089, allocations: 170.3 kB / 0.9188 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.8116, allocations: 0.5328 MB / 0.9193 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.8143, allocations: 0.8307 MB / 0.9201 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.8165, allocations: 1.382 MB / 0.9215 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.8178, allocations: 0.6373 MB / 0.9221 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.8189, allocations: 0.5021 MB / 0.9226 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009836/0.8199, allocations: 0.5172 MB / 0.9231 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004035/0.8203, allocations: 120 kB / 0.9232 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.8218, allocations: 491.6 kB / 0.9237 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005072/0.8223, allocations: 311 kB / 0.924 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000979/0.8233, allocations: 0.5635 MB / 0.9245 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002921/0.8262, allocations: 1.654 MB / 0.9262 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8262, allocations: 0 / 0.9262 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd: time 4.598e-06/0.8263, allocations: 0 / 0.9262 GB, free: 352 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.632e-05/0.8263, allocations: 3.938 kB / 0.9262 GB, free: 348 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.004118/0.8304, allocations: 1.472 MB / 0.9276 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8305, allocations: 8.031 kB / 0.9276 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.8317, allocations: 187.4 kB / 0.9278 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.8335, allocations: 0.7818 MB / 0.9285 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.8336, allocations: 69.98 kB / 0.9286 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.8338, allocations: 87.94 kB / 0.9287 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.8359, allocations: 0.9613 MB / 0.9296 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.8359, allocations: 4 kB / 0.9296 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.8361, allocations: 43.98 kB / 0.9297 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.8361, allocations: 20 kB / 0.9297 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.8382, allocations: 1.155 MB / 0.9308 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.8434, allocations: 2.648 MB / 0.9334 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.845, allocations: 0.8394 MB / 0.9342 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.8456, allocations: 326.7 kB / 0.9345 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/0.8457, allocations: 32.69 kB / 0.9346 GB, free: 7.5 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.8468, allocations: 0.5353 MB / 0.9351 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 4.097e-06/0.8468, allocations: 0 / 0.9351 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.00355/0.8503, allocations: 1.286 MB / 0.9364 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.8505, allocations: 196.9 kB / 0.9365 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.8515, allocations: 0.6489 MB / 0.9372 GB, free: 4.742 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-05/0.8516, allocations: 49.64 kB / 0.9372 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.8521, allocations: 404.5 kB / 0.9376 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.8524, allocations: 283.8 kB / 0.9379 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.8527, allocations: 182.5 kB / 0.9381 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.8529, allocations: 390.7 kB / 0.9384 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.8536, allocations: 293.8 kB / 0.9387 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.8543, allocations: 391.1 kB / 0.9391 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.8556, allocations: 0.6594 MB / 0.9397 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.8556, allocations: 0 / 0.9397 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002374/0.858, allocations: 0.915 MB / 0.9406 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.8581, allocations: 11.94 kB / 0.9406 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.8581, allocations: 4.094 kB / 0.9406 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/0.8587, allocations: 84.7 kB / 0.9407 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.8595, allocations: 183.7 kB / 0.9409 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.862, allocations: 1.623 MB / 0.9425 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/0.863, allocations: 94.48 kB / 0.9426 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.8631, allocations: 47.91 kB / 0.9426 GB, free: 14.96 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.0006756/0.8638, allocations: 282.1 kB / 0.9429 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.8641, allocations: 86.88 kB / 0.943 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.8669, allocations: 1.164 MB / 0.9441 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.8669, allocations: 16 kB / 0.9441 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.867, allocations: 0 / 0.9441 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.867, allocations: 3.984 kB / 0.9441 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.8684, allocations: 0.9347 MB / 0.945 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.8684, allocations: 0 / 0.945 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.8691, allocations: 155.8 kB / 0.9452 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/0.8696, allocations: 72.8 kB / 0.9452 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.611e-05/0.8697, allocations: 35.91 kB / 0.9453 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.8718, allocations: 1.654 MB / 0.9469 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8718, allocations: 0 / 0.9469 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.8741, allocations: 1.002 MB / 0.9479 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.8747, allocations: 279.8 kB / 0.9481 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.8749, allocations: 27.98 kB / 0.9482 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.8756, allocations: 74.36 kB / 0.9482 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.8758, allocations: 80.83 kB / 0.9483 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/0.8759, allocations: 39.97 kB / 0.9484 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007412/0.8767, allocations: 479 kB / 0.9488 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8767, allocations: 0 / 0.9488 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001111/0.8778, allocations: 331.2 kB / 0.9491 GB, free: 8.031 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.001597/0.8794, allocations: 0.6062 MB / 0.9497 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.8815, allocations: 0.8899 MB / 0.9506 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8815, allocations: 0 / 0.9506 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.8826, allocations: 0.547 MB / 0.9511 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.8839, allocations: 300.7 kB / 0.9514 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.8884, allocations: 1.863 MB / 0.9532 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.8892, allocations: 1.036 MB / 0.9542 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.8896, allocations: 127.4 kB / 0.9544 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of SimCode: time 7.72e-07/0.8896, allocations: 0 / 0.9544 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of Templates: time 0.4434/1.333, allocations: 19.3 MB / 0.9732 GB, free: 179.1 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)