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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8089/0.8089, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 176.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 87.86 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 279.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.812e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5672, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.763/4.33, allocations: 1.691 GB / 2.449 GB, free: 94.77 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/4.331, allocations: 99.81 kB / 2.449 GB, free: 94.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1239/4.455, allocations: 58.87 MB / 2.506 GB, free: 35.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/4.455, allocations: 0 / 2.506 GB, free: 35.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.509e-05/4.455, allocations: 28 kB / 2.506 GB, free: 35.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001981/4.457, allocations: 1.078 MB / 2.507 GB, free: 34.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/4.457, allocations: 8.031 kB / 2.507 GB, free: 34.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009886/4.458, allocations: 186.6 kB / 2.508 GB, free: 34.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/4.459, allocations: 0.6153 MB / 2.508 GB, free: 33.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/4.459, allocations: 28 kB / 2.508 GB, free: 33.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/4.459, allocations: 47.98 kB / 2.508 GB, free: 33.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/4.46, allocations: 1.015 MB / 2.509 GB, free: 32.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/4.461, allocations: 0.7389 MB / 2.51 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/4.461, allocations: 0 / 2.51 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/4.461, allocations: 4 kB / 2.51 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/4.461, allocations: 20 kB / 2.51 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/4.465, allocations: 2.376 MB / 2.512 GB, free: 29.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/4.466, allocations: 0.6658 MB / 2.513 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/4.466, allocations: 251.1 kB / 2.513 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/4.466, allocations: 36.73 kB / 2.513 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/4.466, allocations: 399.8 kB / 2.514 GB, free: 27.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.214e-06/4.466, allocations: 0 / 2.514 GB, free: 27.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001397/4.468, allocations: 0.6729 MB / 2.514 GB, free: 27.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/4.468, allocations: 240.1 kB / 2.515 GB, free: 26.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/4.468, allocations: 0.5022 MB / 2.515 GB, free: 26.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/4.469, allocations: 25.7 kB / 2.515 GB, free: 26.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/4.469, allocations: 388.2 kB / 2.515 GB, free: 25.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/4.469, allocations: 236.4 kB / 2.516 GB, free: 25.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/4.469, allocations: 0 / 2.516 GB, free: 25.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/4.469, allocations: 382.8 kB / 2.516 GB, free: 25.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/4.469, allocations: 193.5 kB / 2.516 GB, free: 25.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/4.47, allocations: 299.5 kB / 2.517 GB, free: 24.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/4.47, allocations: 252.4 kB / 2.517 GB, free: 24.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/4.47, allocations: 0 / 2.517 GB, free: 24.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001279/4.471, allocations: 0.6797 MB / 2.517 GB, free: 23.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/4.471, allocations: 9.406 kB / 2.517 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/4.471, allocations: 0 / 2.517 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/4.472, allocations: 76.84 kB / 2.518 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/4.472, allocations: 151.8 kB / 2.518 GB, free: 23.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/4.474, allocations: 1.453 MB / 2.519 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/4.474, allocations: 59.5 kB / 2.519 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/4.475, allocations: 27.92 kB / 2.519 GB, free: 21.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001363/4.475, allocations: 124.8 kB / 2.519 GB, free: 21.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/4.475, allocations: 83.08 kB / 2.519 GB, free: 21.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/4.477, allocations: 0.9308 MB / 2.52 GB, free: 20.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/4.477, allocations: 8 kB / 2.52 GB, free: 20.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/4.477, allocations: 4 kB / 2.52 GB, free: 20.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/4.477, allocations: 7.984 kB / 2.52 GB, free: 20.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/4.479, allocations: 1.71 MB / 2.522 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/4.479, allocations: 4 kB / 2.522 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/4.479, allocations: 151.8 kB / 2.522 GB, free: 18.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/4.48, allocations: 84.77 kB / 2.522 GB, free: 18.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/4.48, allocations: 11.98 kB / 2.522 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/4.481, allocations: 1.488 MB / 2.524 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/4.481, allocations: 0 / 2.524 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/4.482, allocations: 0.8415 MB / 2.524 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/4.483, allocations: 283.8 kB / 2.525 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/4.483, allocations: 0 / 2.525 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/4.483, allocations: 55.94 kB / 2.525 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/4.484, allocations: 60.69 kB / 2.525 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/4.484, allocations: 31.98 kB / 2.525 GB, free: 15.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003728/4.484, allocations: 406.9 kB / 2.525 GB, free: 15.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/4.484, allocations: 0 / 2.525 GB, free: 15.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009852/4.485, allocations: 335.1 kB / 2.526 GB, free: 15.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001717/4.487, allocations: 1.085 MB / 2.527 GB, free: 14.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001022/4.488, allocations: 0.6667 MB / 2.527 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/4.488, allocations: 0 / 2.527 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/4.488, allocations: 464.5 kB / 2.528 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/4.489, allocations: 226.1 kB / 2.528 GB, free: 12.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/4.492, allocations: 1.301 MB / 2.529 GB, free: 11.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/4.493, allocations: 1.023 MB / 2.53 GB, free: 10.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007602/4.493, allocations: 257.9 kB / 2.53 GB, free: 10.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/4.494, allocations: 95.39 kB / 2.531 GB, free: 10.07 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/4.494, allocations: 0 / 2.531 GB, free: 10.07 MB / 0.698 GB Notification: Performance of Templates: time 0.348/4.842, allocations: 15.75 MB / 2.546 GB, free: 232.3 MB / 0.698 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)