Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001204/0.001204, allocations: 176.8 kB / 366.7 MB, free: 1.66 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.618/1.618, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008549/0.0008547, allocations: 94.83 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.151e-05, allocations: 0 / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6963, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.702/5.399, allocations: 2.073 GB / 3.046 GB, free: 10.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/5.399, allocations: 91.81 kB / 3.046 GB, free: 10.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6886/6.087, allocations: 65.8 MB / 3.11 GB, free: 328.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/6.088, allocations: 1.031 kB / 3.11 GB, free: 328.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.154e-05/6.088, allocations: 28.03 kB / 3.11 GB, free: 328.8 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.001855/6.089, allocations: 1.09 MB / 3.112 GB, free: 328 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/6.09, allocations: 10 kB / 3.112 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/6.091, allocations: 220.3 kB / 3.112 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/6.092, allocations: 0.6172 MB / 3.112 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/6.092, allocations: 27.69 kB / 3.112 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/6.092, allocations: 53.45 kB / 3.112 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001588/6.093, allocations: 1.018 MB / 3.113 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/6.095, allocations: 0.7661 MB / 3.114 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/6.095, allocations: 1.125 kB / 3.114 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/6.095, allocations: 5.125 kB / 3.114 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/6.095, allocations: 26.08 kB / 3.114 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003687/6.098, allocations: 2.378 MB / 3.117 GB, free: 324.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/6.1, allocations: 0.6595 MB / 3.117 GB, free: 324.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/6.1, allocations: 242.6 kB / 3.117 GB, free: 324.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006332/6.101, allocations: 472.5 kB / 3.118 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006335/6.101, allocations: 394.2 kB / 3.118 GB, free: 323.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.925e-06/6.101, allocations: 7.875 kB / 3.118 GB, free: 323.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.004112/6.105, allocations: 1.126 MB / 3.119 GB, free: 322.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/6.106, allocations: 243.8 kB / 3.12 GB, free: 322.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/6.106, allocations: 0.4974 MB / 3.12 GB, free: 322.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/6.106, allocations: 25.7 kB / 3.12 GB, free: 322.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/6.106, allocations: 402.8 kB / 3.12 GB, free: 322 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/6.107, allocations: 229 kB / 3.121 GB, free: 321.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/6.107, allocations: 0 / 3.121 GB, free: 321.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/6.107, allocations: 377.1 kB / 3.121 GB, free: 321.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/6.107, allocations: 192.2 kB / 3.121 GB, free: 321.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/6.107, allocations: 299.3 kB / 3.122 GB, free: 321.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/6.11, allocations: 0.7 MB / 3.122 GB, free: 320.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/6.11, allocations: 0 / 3.122 GB, free: 320.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003557/6.114, allocations: 1.122 MB / 3.123 GB, free: 320.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/6.114, allocations: 6.578 kB / 3.123 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/6.114, allocations: 3.5 kB / 3.123 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/6.114, allocations: 79.91 kB / 3.123 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/6.115, allocations: 139.7 kB / 3.124 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/6.116, allocations: 1.459 MB / 3.125 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/6.117, allocations: 58.25 kB / 3.125 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/6.117, allocations: 27.98 kB / 3.125 GB, free: 318.8 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.00017/6.117, allocations: 125.7 kB / 3.125 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003568/6.121, allocations: 1.127 MB / 3.126 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/6.121, allocations: 74.62 kB / 3.126 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/6.125, allocations: 1.385 MB / 3.128 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/6.125, allocations: 6.688 kB / 3.128 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/6.125, allocations: 3.953 kB / 3.128 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/6.125, allocations: 7.234 kB / 3.128 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/6.127, allocations: 0.7613 MB / 3.128 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/6.127, allocations: 4 kB / 3.128 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/6.127, allocations: 148 kB / 3.129 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/6.128, allocations: 85.36 kB / 3.129 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/6.128, allocations: 14.89 kB / 3.129 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/6.129, allocations: 1.479 MB / 3.13 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/6.129, allocations: 8.016 kB / 3.13 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/6.133, allocations: 1.223 MB / 3.131 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/6.133, allocations: 274.4 kB / 3.132 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/6.134, allocations: 11.98 kB / 3.132 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/6.134, allocations: 54 kB / 3.132 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/6.134, allocations: 59.36 kB / 3.132 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/6.134, allocations: 31.38 kB / 3.132 GB, free: 314.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004908/6.135, allocations: 413 kB / 3.132 GB, free: 314.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.135, allocations: 0 / 3.132 GB, free: 314.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001177/6.136, allocations: 331.8 kB / 3.132 GB, free: 314.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) * 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.005382/6.141, allocations: 2.715 MB / 3.135 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001087/6.143, allocations: 0.6495 MB / 3.136 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/6.143, allocations: 7.938 kB / 3.136 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/6.143, allocations: 448.6 kB / 3.136 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/6.144, allocations: 206.2 kB / 3.136 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/6.148, allocations: 1.518 MB / 3.138 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/6.148, allocations: 1.041 MB / 3.139 GB, free: 309 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008232/6.149, allocations: 257 kB / 3.139 GB, free: 308.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/6.149, allocations: 375.3 kB / 3.139 GB, free: 308.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/6.149, allocations: 0 / 3.139 GB, free: 308.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/6.195, allocations: 23.25 MB / 3.162 GB, free: 285.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/6.195, allocations: 199 kB / 3.162 GB, free: 285 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/9.052, allocations: 5.312 kB / 3.162 GB, free: 285 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)