Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 180.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008722/0.0008721, allocations: 88.2 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 10 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2322, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.104/6.336, allocations: 2.19 GB / 3.09 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/6.337, allocations: 97.28 kB / 3.09 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1385/6.475, allocations: 57.22 MB / 3.146 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.697e-06/6.475, allocations: 0 / 3.146 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001579/6.476, allocations: 27.39 kB / 3.146 GB, free: 238.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003337/6.479, allocations: 1.129 MB / 3.147 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/6.479, allocations: 11.42 kB / 3.147 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004323/6.479, allocations: 125.8 kB / 3.147 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/6.481, allocations: 182.3 kB / 3.147 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/6.482, allocations: 0.6084 MB / 3.148 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/6.482, allocations: 54.41 kB / 3.148 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/6.482, allocations: 78.53 kB / 3.148 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/6.484, allocations: 0.8262 MB / 3.149 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/6.484, allocations: 8 kB / 3.149 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/6.484, allocations: 29.69 kB / 3.149 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/6.484, allocations: 23.17 kB / 3.149 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/6.486, allocations: 1.048 MB / 3.15 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/6.49, allocations: 2.336 MB / 3.152 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/6.492, allocations: 0.7834 MB / 3.153 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.9e-05/6.492, allocations: 33.72 kB / 3.153 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007276/6.492, allocations: 413.3 kB / 3.153 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.837e-06/6.492, allocations: 7.938 kB / 3.153 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002962/6.495, allocations: 1.06 MB / 3.154 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/6.495, allocations: 246.5 kB / 3.155 GB, free: 236 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009709/6.496, allocations: 0.559 MB / 3.155 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.735e-05/6.497, allocations: 43.45 kB / 3.155 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/6.497, allocations: 360.7 kB / 3.155 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/6.497, allocations: 233.8 kB / 3.156 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/6.497, allocations: 16.28 kB / 3.156 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001556/6.497, allocations: 375.3 kB / 3.156 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/6.498, allocations: 206 kB / 3.156 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/6.498, allocations: 319.6 kB / 3.157 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/6.499, allocations: 261 kB / 3.157 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/6.499, allocations: 0 / 3.157 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001732/6.5, allocations: 0.6993 MB / 3.158 GB, free: 235 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/6.501, allocations: 7.938 kB / 3.158 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/6.501, allocations: 0 / 3.158 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/6.501, allocations: 87.41 kB / 3.158 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/6.502, allocations: 133.5 kB / 3.158 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/6.504, allocations: 1.523 MB / 3.159 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/6.505, allocations: 82.36 kB / 3.159 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/6.505, allocations: 27.3 kB / 3.159 GB, free: 233.5 MB / 0.8855 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 (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.0006014/6.505, allocations: 246 kB / 3.16 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/6.505, allocations: 70.55 kB / 3.16 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/6.508, allocations: 0.9903 MB / 3.161 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/6.508, allocations: 11.86 kB / 3.161 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/6.508, allocations: 0 / 3.161 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/6.508, allocations: 3.984 kB / 3.161 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/6.511, allocations: 1.854 MB / 3.162 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/6.511, allocations: 4 kB / 3.162 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/6.512, allocations: 137 kB / 3.163 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/6.512, allocations: 79.19 kB / 3.163 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.526e-05/6.512, allocations: 22.48 kB / 3.163 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/6.514, allocations: 1.567 MB / 3.164 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/6.514, allocations: 0 / 3.164 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/6.516, allocations: 0.8876 MB / 3.165 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/6.517, allocations: 279.1 kB / 3.165 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/6.517, allocations: 18.72 kB / 3.165 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/6.518, allocations: 57.3 kB / 3.165 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/6.518, allocations: 63.19 kB / 3.165 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/6.518, allocations: 30.98 kB / 3.165 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007765/6.519, allocations: 466.5 kB / 3.166 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/6.519, allocations: 0 / 3.166 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001435/6.52, allocations: 325.9 kB / 3.166 GB, free: 230.1 MB / 0.8855 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 (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.004236/6.524, allocations: 2.368 MB / 3.169 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001587/6.526, allocations: 0.7025 MB / 3.169 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/6.526, allocations: 3.969 kB / 3.169 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/6.527, allocations: 486.8 kB / 3.17 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/6.528, allocations: 228.8 kB / 3.17 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/6.539, allocations: 4.832 MB / 3.175 GB, free: 226 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/6.539, allocations: 1.003 MB / 3.176 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001075/6.54, allocations: 246.9 kB / 3.176 GB, free: 225 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/6.541, allocations: 334.2 kB / 3.176 GB, free: 225 MB / 0.8855 GB Notification: Performance of SimCode: time 2.445e-06/6.541, allocations: 0 / 3.176 GB, free: 225 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05345/6.594, allocations: 28.32 MB / 3.204 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/6.595, allocations: 285.2 kB / 3.204 GB, free: 211 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/9.839, allocations: 0 / 3.204 GB, free: 211 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)