Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8423/0.8423, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 180.3 kB / 187.3 MB, free: 11.88 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.442/1.442, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008726/0.0008728, allocations: 103.4 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 285.2 kB / 0.594 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.065e-05/4.067e-05, allocations: 7.938 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5087, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/5.224, allocations: 1.691 GB / 2.455 GB, free: 88.22 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/5.224, allocations: 103.4 kB / 2.455 GB, free: 88.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1185/5.343, allocations: 58.6 MB / 2.512 GB, free: 29.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/5.343, allocations: 0 / 2.512 GB, free: 29.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.432e-05/5.343, allocations: 27.94 kB / 2.512 GB, free: 29.3 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001681/5.345, allocations: 1.039 MB / 2.513 GB, free: 28.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/5.345, allocations: 12.03 kB / 2.513 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/5.346, allocations: 182.6 kB / 2.514 GB, free: 28.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008277/5.346, allocations: 0.6113 MB / 2.514 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/5.346, allocations: 62 kB / 2.514 GB, free: 27.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/5.347, allocations: 76 kB / 2.514 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/5.348, allocations: 0.8053 MB / 2.515 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/5.348, allocations: 0 / 2.515 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/5.348, allocations: 32 kB / 2.515 GB, free: 26.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/5.348, allocations: 20 kB / 2.515 GB, free: 26.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/5.349, allocations: 1.007 MB / 2.516 GB, free: 25.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/5.352, allocations: 2.364 MB / 2.518 GB, free: 22.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/5.353, allocations: 0.7508 MB / 2.519 GB, free: 22.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/5.353, allocations: 254.5 kB / 2.519 GB, free: 21.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.322e-05/5.353, allocations: 32.58 kB / 2.519 GB, free: 21.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/5.354, allocations: 393.9 kB / 2.52 GB, free: 21.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 1.813e-06/5.354, allocations: 0 / 2.52 GB, free: 21.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001338/5.355, allocations: 0.66 MB / 2.521 GB, free: 20.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/5.355, allocations: 239.9 kB / 2.521 GB, free: 20.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/5.356, allocations: 0.5814 MB / 2.521 GB, free: 19.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/5.356, allocations: 41.7 kB / 2.521 GB, free: 19.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/5.356, allocations: 360.4 kB / 2.522 GB, free: 19.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/5.356, allocations: 224.7 kB / 2.522 GB, free: 19.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/5.356, allocations: 16 kB / 2.522 GB, free: 19.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/5.356, allocations: 378.8 kB / 2.522 GB, free: 18.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/5.356, allocations: 189.5 kB / 2.522 GB, free: 18.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/5.357, allocations: 306.7 kB / 2.523 GB, free: 18.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/5.357, allocations: 238 kB / 2.523 GB, free: 18.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/5.357, allocations: 0 / 2.523 GB, free: 18.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001226/5.358, allocations: 0.6641 MB / 2.524 GB, free: 17.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/5.358, allocations: 11.94 kB / 2.524 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/5.358, allocations: 0 / 2.524 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/5.359, allocations: 84.8 kB / 2.524 GB, free: 17.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/5.359, allocations: 139.8 kB / 2.524 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/5.361, allocations: 1.508 MB / 2.525 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/5.362, allocations: 83.39 kB / 2.525 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/5.362, allocations: 31.97 kB / 2.525 GB, free: 15.43 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 (72): * Single equations (assignments): 71 * 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.000135/5.362, allocations: 138.8 kB / 2.526 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.651e-05/5.362, allocations: 75.06 kB / 2.526 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/5.364, allocations: 0.9361 MB / 2.527 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/5.364, allocations: 8 kB / 2.527 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/5.364, allocations: 0 / 2.527 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/5.364, allocations: 3.984 kB / 2.527 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/5.366, allocations: 1.812 MB / 2.528 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/5.366, allocations: 3.938 kB / 2.528 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/5.366, allocations: 135.8 kB / 2.528 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/5.367, allocations: 88.77 kB / 2.529 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/5.367, allocations: 19.98 kB / 2.529 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/5.368, allocations: 1.536 MB / 2.53 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/5.368, allocations: 8.016 kB / 2.53 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/5.37, allocations: 0.8493 MB / 2.531 GB, free: 9.578 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/5.37, allocations: 275.8 kB / 2.531 GB, free: 9.289 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/5.37, allocations: 16 kB / 2.531 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/5.371, allocations: 63.95 kB / 2.531 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/5.371, allocations: 60.69 kB / 2.531 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/5.371, allocations: 27.98 kB / 2.531 GB, free: 9.125 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004567/5.371, allocations: 471.1 kB / 2.532 GB, free: 8.672 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/5.371, allocations: 4 kB / 2.532 GB, free: 8.668 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009795/5.372, allocations: 343.2 kB / 2.532 GB, free: 8.332 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 (81): * Single equations (assignments): 78 * 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.001678/5.374, allocations: 1.029 MB / 2.533 GB, free: 7.422 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001058/5.375, allocations: 0.6632 MB / 2.534 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/5.375, allocations: 0 / 2.534 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/5.376, allocations: 459.1 kB / 2.534 GB, free: 6.289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/5.377, allocations: 237.4 kB / 2.534 GB, free: 6.062 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/5.38, allocations: 1.297 MB / 2.536 GB, free: 4.738 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/5.38, allocations: 1.011 MB / 2.537 GB, free: 3.703 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008466/5.381, allocations: 261.8 kB / 2.537 GB, free: 3.445 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/5.381, allocations: 91.39 kB / 2.537 GB, free: 3.355 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/5.381, allocations: 0 / 2.537 GB, free: 3.355 MB / 0.698 GB Notification: Performance of Templates: time 0.4071/5.788, allocations: 21.68 MB / 2.558 GB, free: 229.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)