Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.403/2.403, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001571/0.001571, allocations: 184.8 kB / 360.6 MB, free: 7.273 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.989/1.989, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 82.77 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.955e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8098, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.05/6.86, allocations: 2.072 GB / 3.035 GB, free: 46.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/6.86, allocations: 92.81 kB / 3.035 GB, free: 46.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8851/7.746, allocations: 65.79 MB / 3.099 GB, free: 319.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.885e-06/7.746, allocations: 1.031 kB / 3.099 GB, free: 319.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001195/7.746, allocations: 27 kB / 3.099 GB, free: 319.1 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.003242/7.749, allocations: 1.088 MB / 3.101 GB, free: 318.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/7.749, allocations: 11.72 kB / 3.101 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/7.751, allocations: 213.7 kB / 3.101 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/7.753, allocations: 0.6302 MB / 3.101 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/7.753, allocations: 29.27 kB / 3.101 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/7.754, allocations: 48.84 kB / 3.101 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002957/7.757, allocations: 1.016 MB / 3.102 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/7.759, allocations: 0.7692 MB / 3.103 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/7.759, allocations: 6.172 kB / 3.103 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/7.759, allocations: 0 / 3.103 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/7.759, allocations: 19.34 kB / 3.103 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006779/7.766, allocations: 2.383 MB / 3.106 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/7.768, allocations: 0.6539 MB / 3.106 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/7.768, allocations: 245.3 kB / 3.106 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009432/7.769, allocations: 470.6 kB / 3.107 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/7.771, allocations: 394.7 kB / 3.107 GB, free: 316.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.717e-06/7.771, allocations: 3.719 kB / 3.107 GB, free: 316.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.007754/7.778, allocations: 1.127 MB / 3.108 GB, free: 316.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/7.778, allocations: 244.4 kB / 3.109 GB, free: 316.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/7.78, allocations: 0.4958 MB / 3.109 GB, free: 316.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/7.78, allocations: 26.7 kB / 3.109 GB, free: 316.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000428/7.78, allocations: 405.2 kB / 3.109 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/7.781, allocations: 232.5 kB / 3.11 GB, free: 316 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/7.781, allocations: 1.25 kB / 3.11 GB, free: 316 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001642/7.781, allocations: 377.6 kB / 3.11 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/7.781, allocations: 190 kB / 3.11 GB, free: 315.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/7.782, allocations: 295.2 kB / 3.111 GB, free: 315.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005622/7.788, allocations: 0.6978 MB / 3.111 GB, free: 315.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/7.788, allocations: 0.8438 kB / 3.111 GB, free: 315.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.007551/7.795, allocations: 1.119 MB / 3.112 GB, free: 315.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/7.795, allocations: 5.25 kB / 3.112 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/7.795, allocations: 1.406 kB / 3.112 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/7.796, allocations: 83.72 kB / 3.112 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/7.798, allocations: 144.9 kB / 3.113 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/7.801, allocations: 1.458 MB / 3.114 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/7.802, allocations: 60.17 kB / 3.114 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/7.802, allocations: 26.28 kB / 3.114 GB, free: 314.2 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 () * 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.0002874/7.802, allocations: 126.1 kB / 3.114 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007692/7.81, allocations: 1.123 MB / 3.115 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/7.81, allocations: 73.94 kB / 3.115 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009472/7.82, allocations: 1.384 MB / 3.117 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/7.82, allocations: 7.906 kB / 3.117 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/7.82, allocations: 1.875 kB / 3.117 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/7.82, allocations: 4.125 kB / 3.117 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/7.822, allocations: 0.7611 MB / 3.117 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/7.822, allocations: 0 / 3.117 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/7.823, allocations: 149.2 kB / 3.118 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009334/7.824, allocations: 86.52 kB / 3.118 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/7.825, allocations: 14.34 kB / 3.118 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/7.827, allocations: 1.485 MB / 3.119 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/7.827, allocations: 1.156 kB / 3.119 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008857/7.836, allocations: 1.226 MB / 3.12 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/7.837, allocations: 273.9 kB / 3.121 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/7.838, allocations: 4.281 kB / 3.121 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/7.84, allocations: 54.62 kB / 3.121 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004515/7.84, allocations: 64.64 kB / 3.121 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/7.84, allocations: 32.67 kB / 3.121 GB, free: 312.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001521/7.842, allocations: 408.2 kB / 3.121 GB, free: 312 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.424e-06/7.842, allocations: 0 / 3.121 GB, free: 312 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002819/7.845, allocations: 336.1 kB / 3.121 GB, free: 311.9 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) * 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.01551/7.86, allocations: 2.727 MB / 3.124 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003093/7.864, allocations: 0.645 MB / 3.125 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/7.864, allocations: 5.031 kB / 3.125 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/7.866, allocations: 450.5 kB / 3.125 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/7.869, allocations: 222.5 kB / 3.125 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/7.879, allocations: 1.513 MB / 3.127 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/7.88, allocations: 1.033 MB / 3.128 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002676/7.883, allocations: 263.5 kB / 3.128 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/7.884, allocations: 370.6 kB / 3.128 GB, free: 309.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.374e-06/7.884, allocations: 0 / 3.128 GB, free: 309.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/7.985, allocations: 23.24 MB / 3.151 GB, free: 308 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/7.986, allocations: 210.4 kB / 3.151 GB, free: 307.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.827/11.81, allocations: 4 kB / 3.151 GB, free: 307.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)