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.7989/0.7989, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001485/0.001485, allocations: 177 kB / 191.5 MB, free: 5.738 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.54/1.54, allocations: 223.2 MB / 447.7 MB, free: 6.512 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.0009458/0.0009457, allocations: 103.8 kB / 0.5188 GB, free: 2.859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.002169, allocations: 270.2 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004497, allocations: 16 kB / 0.6929 GB, free: 2.316 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4149, allocations: 82.78 MB / 0.7737 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.214/4.629, allocations: 1.692 GB / 2.466 GB, free: 63.09 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/4.629, allocations: 103.8 kB / 2.466 GB, free: 62.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1225/4.752, allocations: 60.03 MB / 2.525 GB, free: 2.699 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.068e-06/4.752, allocations: 4 kB / 2.525 GB, free: 2.695 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.282e-05/4.752, allocations: 20 kB / 2.525 GB, free: 2.676 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.00208/4.754, allocations: 1.195 MB / 2.526 GB, free: 1.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/4.754, allocations: 8.031 kB / 2.526 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008189/4.755, allocations: 194.6 kB / 2.526 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009156/4.756, allocations: 0.6191 MB / 2.527 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/4.756, allocations: 58 kB / 2.527 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/4.756, allocations: 76 kB / 2.527 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4819/5.238, allocations: 0.882 MB / 2.528 GB, free: 231.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/5.238, allocations: 2.531 kB / 2.528 GB, free: 231.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/5.238, allocations: 35.83 kB / 2.528 GB, free: 231.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/5.238, allocations: 20.69 kB / 2.528 GB, free: 231.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/5.24, allocations: 1.107 MB / 2.529 GB, free: 231.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/5.245, allocations: 2.534 MB / 2.531 GB, free: 230.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/5.247, allocations: 0.7491 MB / 2.532 GB, free: 230.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/5.247, allocations: 33.48 kB / 2.532 GB, free: 230.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000947/5.248, allocations: 448.1 kB / 2.532 GB, free: 230.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.607e-06/5.248, allocations: 0 / 2.532 GB, free: 230.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003482/5.251, allocations: 1.14 MB / 2.533 GB, free: 230.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/5.252, allocations: 244.5 kB / 2.534 GB, free: 230.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009961/5.253, allocations: 0.5921 MB / 2.534 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/5.253, allocations: 45.41 kB / 2.534 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/5.253, allocations: 375.1 kB / 2.535 GB, free: 230.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/5.253, allocations: 254.4 kB / 2.535 GB, free: 229.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/5.253, allocations: 12.72 kB / 2.535 GB, free: 229.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001495/5.253, allocations: 383.3 kB / 2.535 GB, free: 229.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/5.254, allocations: 233 kB / 2.536 GB, free: 229.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/5.254, allocations: 341.4 kB / 2.536 GB, free: 229.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/5.255, allocations: 276.8 kB / 2.536 GB, free: 229.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/5.255, allocations: 0 / 2.536 GB, free: 229.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00192/5.257, allocations: 0.7644 MB / 2.537 GB, free: 229.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/5.257, allocations: 5.219 kB / 2.537 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/5.257, allocations: 1.469 kB / 2.537 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007025/5.258, allocations: 86.42 kB / 2.537 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/5.258, allocations: 158.3 kB / 2.537 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/5.26, allocations: 1.524 MB / 2.539 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/5.261, allocations: 84.86 kB / 2.539 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/5.261, allocations: 31.38 kB / 2.539 GB, free: 228.1 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 () * Number of clocked 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.0005616/5.262, allocations: 252.5 kB / 2.539 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/5.262, allocations: 81.88 kB / 2.539 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/5.264, allocations: 1.046 MB / 2.54 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/5.264, allocations: 8.406 kB / 2.54 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/5.264, allocations: 1.531 kB / 2.54 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/5.264, allocations: 4.594 kB / 2.54 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/5.268, allocations: 1.935 MB / 2.542 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/5.268, allocations: 5.359 kB / 2.542 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/5.268, allocations: 153.4 kB / 2.542 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005197/5.269, allocations: 84.36 kB / 2.542 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/5.269, allocations: 27.88 kB / 2.542 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/5.271, allocations: 1.555 MB / 2.544 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/5.271, allocations: 7.984 kB / 2.544 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/5.273, allocations: 0.9381 MB / 2.545 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/5.273, allocations: 285.3 kB / 2.545 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/5.273, allocations: 17.78 kB / 2.545 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/5.274, allocations: 63.12 kB / 2.545 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/5.274, allocations: 64.5 kB / 2.545 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/5.274, allocations: 33.64 kB / 2.545 GB, free: 225.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006066/5.275, allocations: 0.4883 MB / 2.546 GB, free: 225.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.275, allocations: 0 / 2.546 GB, free: 225.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001182/5.276, allocations: 360.6 kB / 2.546 GB, free: 225.8 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) * Number of clocked states: 0 () * 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.002085/5.278, allocations: 1.079 MB / 2.547 GB, free: 225.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001519/5.28, allocations: 0.7534 MB / 2.548 GB, free: 225.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/5.28, allocations: 0 / 2.548 GB, free: 225.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/5.281, allocations: 0.5007 MB / 2.548 GB, free: 225.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/5.282, allocations: 237.7 kB / 2.548 GB, free: 225.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/5.286, allocations: 2.108 MB / 2.55 GB, free: 224.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/5.286, allocations: 1.027 MB / 2.551 GB, free: 223.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009137/5.287, allocations: 259.8 kB / 2.552 GB, free: 223.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/5.287, allocations: 101 kB / 2.552 GB, free: 223.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/5.287, allocations: 0 / 2.552 GB, free: 223.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02903/5.316, allocations: 20.56 MB / 2.572 GB, free: 222.2 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)