Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001306/0.001306, allocations: 180.5 kB / 182.2 MB, free: 9.453 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.324/1.324, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009462/0.0009465, allocations: 102 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 269.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.95e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4759, allocations: 82.77 MB / 0.7573 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.161/4.637, allocations: 1.692 GB / 2.449 GB, free: 94.49 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/4.637, allocations: 87.83 kB / 2.449 GB, free: 94.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1902/4.827, allocations: 93.47 MB / 2.541 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.517e-06/4.827, allocations: 0 / 2.541 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.037e-05/4.828, allocations: 32 kB / 2.541 GB, free: 0.5977 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.4639/5.291, allocations: 1.388 MB / 2.542 GB, free: 230.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/5.292, allocations: 9.094 kB / 2.542 GB, free: 230.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/5.293, allocations: 249.2 kB / 2.542 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/5.295, allocations: 0.7749 MB / 2.543 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/5.295, allocations: 46.16 kB / 2.543 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/5.295, allocations: 84.08 kB / 2.543 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002694/5.298, allocations: 1.373 MB / 2.544 GB, free: 229.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/5.3, allocations: 1.184 MB / 2.546 GB, free: 229.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/5.3, allocations: 0 / 2.546 GB, free: 229.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/5.3, allocations: 1.812 kB / 2.546 GB, free: 229.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/5.3, allocations: 34.98 kB / 2.546 GB, free: 229.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006919/5.307, allocations: 3.556 MB / 2.549 GB, free: 228.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/5.309, allocations: 0.8629 MB / 2.55 GB, free: 228.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/5.31, allocations: 348.1 kB / 2.55 GB, free: 228.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/5.31, allocations: 45.48 kB / 2.55 GB, free: 228.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/5.311, allocations: 0.529 MB / 2.551 GB, free: 228.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 6.121e-06/5.311, allocations: 3.5 kB / 2.551 GB, free: 228.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003185/5.314, allocations: 0.9116 MB / 2.552 GB, free: 228.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/5.314, allocations: 247.7 kB / 2.552 GB, free: 228.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/5.316, allocations: 0.5848 MB / 2.553 GB, free: 228.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/5.316, allocations: 27.27 kB / 2.553 GB, free: 228.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/5.316, allocations: 0.5642 MB / 2.553 GB, free: 228 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/5.317, allocations: 328.5 kB / 2.553 GB, free: 227.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/5.317, allocations: 3.375 kB / 2.553 GB, free: 227.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001689/5.317, allocations: 396.8 kB / 2.554 GB, free: 227.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/5.318, allocations: 297.4 kB / 2.554 GB, free: 227.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006839/5.318, allocations: 420.7 kB / 2.555 GB, free: 227.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007869/5.319, allocations: 373.8 kB / 2.555 GB, free: 227.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/5.319, allocations: 0 / 2.555 GB, free: 227.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002564/5.322, allocations: 0.955 MB / 2.556 GB, free: 227.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/5.322, allocations: 8.375 kB / 2.556 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/5.322, allocations: 0 / 2.556 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/5.322, allocations: 84.47 kB / 2.556 GB, free: 227.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/5.324, allocations: 215.7 kB / 2.556 GB, free: 227.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/5.326, allocations: 1.471 MB / 2.558 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/5.327, allocations: 80.95 kB / 2.558 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/5.327, allocations: 43.75 kB / 2.558 GB, free: 226 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 (116): * Single equations (assignments): 115 * 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.000286/5.327, allocations: 122 kB / 2.558 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/5.327, allocations: 94.22 kB / 2.558 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/5.331, allocations: 1.287 MB / 2.559 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/5.331, allocations: 19.27 kB / 2.559 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/5.331, allocations: 0 / 2.559 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/5.331, allocations: 5.875 kB / 2.559 GB, free: 225.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/5.336, allocations: 2.329 MB / 2.561 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/5.336, allocations: 0 / 2.561 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/5.337, allocations: 196 kB / 2.562 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006036/5.337, allocations: 80.64 kB / 2.562 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-05/5.337, allocations: 20.7 kB / 2.562 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/5.339, allocations: 1.498 MB / 2.563 GB, free: 224.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/5.339, allocations: 0 / 2.563 GB, free: 224.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/5.342, allocations: 1.063 MB / 2.564 GB, free: 223.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/5.342, allocations: 352.5 kB / 2.565 GB, free: 223.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/5.342, allocations: 3.953 kB / 2.565 GB, free: 223.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/5.343, allocations: 57.34 kB / 2.565 GB, free: 223.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/5.344, allocations: 75.97 kB / 2.565 GB, free: 223.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-05/5.344, allocations: 40.39 kB / 2.565 GB, free: 223.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007511/5.344, allocations: 0.4975 MB / 2.565 GB, free: 223.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/5.344, allocations: 3.219 kB / 2.565 GB, free: 223.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001584/5.346, allocations: 429.1 kB / 2.566 GB, free: 223.5 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 (115): * Single equations (assignments): 112 * 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.002092/5.348, allocations: 1.085 MB / 2.567 GB, free: 223.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001851/5.35, allocations: 0.908 MB / 2.568 GB, free: 223.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/5.35, allocations: 0 / 2.568 GB, free: 223.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009807/5.351, allocations: 0.5568 MB / 2.568 GB, free: 223.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/5.352, allocations: 224 kB / 2.568 GB, free: 223.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/5.358, allocations: 1.78 MB / 2.57 GB, free: 222.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/5.358, allocations: 1.194 MB / 2.571 GB, free: 221.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001405/5.36, allocations: 295.3 kB / 2.572 GB, free: 221.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/5.36, allocations: 130.3 kB / 2.572 GB, free: 221.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/5.36, allocations: 0 / 2.572 GB, free: 221.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03857/5.399, allocations: 18.81 MB / 2.59 GB, free: 220.4 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)