Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.711/1.711, allocations: 288.2 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 181.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009592/0.0009589, allocations: 99.67 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004306, allocations: 11.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.428/5.686, allocations: 2.073 GB / 3.052 GB, free: 243.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/5.687, allocations: 99.94 kB / 3.052 GB, free: 243.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1425/5.829, allocations: 66.93 MB / 3.117 GB, free: 176.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.567e-06/5.829, allocations: 0 / 3.117 GB, free: 176.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.869e-05/5.829, allocations: 20 kB / 3.118 GB, free: 176.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002405/5.832, allocations: 1.213 MB / 3.119 GB, free: 175.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/5.832, allocations: 12.03 kB / 3.119 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/5.832, allocations: 135.5 kB / 3.119 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/5.833, allocations: 226.4 kB / 3.119 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/5.834, allocations: 0.623 MB / 3.12 GB, free: 174.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/5.834, allocations: 69.94 kB / 3.12 GB, free: 174.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/5.834, allocations: 84 kB / 3.12 GB, free: 174 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/5.836, allocations: 0.9261 MB / 3.121 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/5.836, allocations: 0 / 3.121 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/5.836, allocations: 43.98 kB / 3.121 GB, free: 173 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/5.836, allocations: 23.95 kB / 3.121 GB, free: 173 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/5.837, allocations: 1.116 MB / 3.122 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/5.842, allocations: 2.555 MB / 3.124 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/5.843, allocations: 0.7531 MB / 3.125 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/5.844, allocations: 474.2 kB / 3.126 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007357/5.844, allocations: 440.4 kB / 3.126 GB, free: 167.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/5.844, allocations: 0 / 3.126 GB, free: 167.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.003008/5.847, allocations: 1.14 MB / 3.127 GB, free: 166.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/5.848, allocations: 240 kB / 3.127 GB, free: 166 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/5.848, allocations: 0.5776 MB / 3.128 GB, free: 165.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/5.848, allocations: 41.7 kB / 3.128 GB, free: 165.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/5.849, allocations: 396.2 kB / 3.128 GB, free: 165 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/5.849, allocations: 240.5 kB / 3.129 GB, free: 164.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/5.849, allocations: 16 kB / 3.129 GB, free: 164.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/5.849, allocations: 382.8 kB / 3.129 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/5.849, allocations: 225.2 kB / 3.129 GB, free: 164.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/5.85, allocations: 335.6 kB / 3.129 GB, free: 163.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/5.85, allocations: 275.1 kB / 3.13 GB, free: 163.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/5.85, allocations: 0 / 3.13 GB, free: 163.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001615/5.852, allocations: 0.7471 MB / 3.13 GB, free: 162.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/5.852, allocations: 4 kB / 3.13 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/5.852, allocations: 0 / 3.13 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/5.853, allocations: 84.83 kB / 3.131 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/5.853, allocations: 147.8 kB / 3.131 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/5.855, allocations: 1.525 MB / 3.132 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/5.856, allocations: 91.41 kB / 3.132 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/5.856, allocations: 27.92 kB / 3.132 GB, free: 160.7 MB / 0.948 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 (75): * Single equations (assignments): 74 * 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.0004811/5.856, allocations: 259.2 kB / 3.133 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/5.856, allocations: 79.02 kB / 3.133 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/5.859, allocations: 1.029 MB / 3.134 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/5.859, allocations: 11.94 kB / 3.134 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/5.859, allocations: 7.938 kB / 3.134 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/5.859, allocations: 3.984 kB / 3.134 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/5.86, allocations: 0.9069 MB / 3.134 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/5.86, allocations: 0 / 3.134 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/5.86, allocations: 147.8 kB / 3.135 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/5.861, allocations: 80.78 kB / 3.135 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/5.861, allocations: 23.98 kB / 3.135 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/5.862, allocations: 1.552 MB / 3.136 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/5.862, allocations: 0 / 3.136 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/5.864, allocations: 0.8655 MB / 3.137 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/5.865, allocations: 283.7 kB / 3.137 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/5.865, allocations: 23.95 kB / 3.137 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/5.865, allocations: 64 kB / 3.137 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/5.865, allocations: 68.91 kB / 3.138 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/5.865, allocations: 31.98 kB / 3.138 GB, free: 155.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006207/5.866, allocations: 483 kB / 3.138 GB, free: 154.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/5.866, allocations: 0 / 3.138 GB, free: 154.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001303/5.867, allocations: 363 kB / 3.138 GB, free: 154.2 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.00393/5.871, allocations: 2.357 MB / 3.141 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001555/5.873, allocations: 0.7516 MB / 3.141 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/5.873, allocations: 0 / 3.141 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007984/5.874, allocations: 0.4886 MB / 3.142 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/5.875, allocations: 242.8 kB / 3.142 GB, free: 150.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009361/5.884, allocations: 5.113 MB / 3.147 GB, free: 145.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/5.885, allocations: 1.035 MB / 3.148 GB, free: 144.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009653/5.886, allocations: 262 kB / 3.148 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/5.886, allocations: 375.3 kB / 3.149 GB, free: 143.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/5.886, allocations: 0 / 3.149 GB, free: 143.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07067/5.957, allocations: 29.39 MB / 3.177 GB, free: 114.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/5.957, allocations: 294.3 kB / 3.178 GB, free: 114.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/9.069, allocations: 0 / 3.178 GB, free: 114.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)