Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.729/2.729, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001505/0.001504, allocations: 184.8 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.2 MB / 0.6191 GB, free: 12.23 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.001493/0.001493, allocations: 96.3 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.409e-05/4.421e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7817, allocations: 115.2 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.787/7.569, allocations: 2.071 GB / 3.035 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/7.569, allocations: 98 kB / 3.035 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.2249/7.794, allocations: 56.63 MB / 3.09 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.425e-06/7.794, allocations: 0.7188 kB / 3.09 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000141/7.795, allocations: 26.34 kB / 3.09 GB, free: 257.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003371/7.798, allocations: 1.03 MB / 3.091 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/7.798, allocations: 13.48 kB / 3.091 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/7.8, allocations: 185.2 kB / 3.091 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/7.802, allocations: 0.6006 MB / 3.092 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/7.802, allocations: 24.75 kB / 3.092 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/7.802, allocations: 43.62 kB / 3.092 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002773/7.805, allocations: 0.9651 MB / 3.093 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/7.807, allocations: 0.6949 MB / 3.093 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/7.807, allocations: 0 / 3.093 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/7.807, allocations: 5.328 kB / 3.093 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/7.807, allocations: 18.88 kB / 3.093 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00663/7.814, allocations: 2.207 MB / 3.096 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/7.816, allocations: 0.6337 MB / 3.096 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/7.816, allocations: 235 kB / 3.096 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/7.816, allocations: 27.97 kB / 3.096 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008268/7.817, allocations: 382.3 kB / 3.097 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=71): time 3.787e-06/7.817, allocations: 0 / 3.097 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71): time 0.003407/7.821, allocations: 0.6306 MB / 3.097 GB, free: 254.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/7.821, allocations: 246.2 kB / 3.098 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/7.823, allocations: 0.4902 MB / 3.098 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003622/7.823, allocations: 29.36 kB / 3.098 GB, free: 253.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/7.824, allocations: 370.4 kB / 3.099 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005846/7.825, allocations: 229.1 kB / 3.099 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/7.825, allocations: 0 / 3.099 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002492/7.825, allocations: 376.7 kB / 3.099 GB, free: 253 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008337/7.826, allocations: 185.7 kB / 3.099 GB, free: 253 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/7.827, allocations: 287.4 kB / 3.1 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/7.828, allocations: 230.1 kB / 3.1 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/7.828, allocations: 0 / 3.1 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004114/7.832, allocations: 0.6355 MB / 3.1 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/7.832, allocations: 11.8 kB / 3.1 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/7.833, allocations: 3.938 kB / 3.1 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/7.834, allocations: 83.73 kB / 3.101 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/7.835, allocations: 128.8 kB / 3.101 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/7.838, allocations: 1.456 MB / 3.102 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/7.839, allocations: 58.66 kB / 3.102 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/7.839, allocations: 23.23 kB / 3.102 GB, free: 251.2 MB / 0.9323 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 (74): * Single equations (assignments): 73 * 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.0002707/7.84, allocations: 121.2 kB / 3.102 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002581/7.842, allocations: 0.6395 MB / 3.103 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/7.843, allocations: 71.41 kB / 3.103 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00327/7.846, allocations: 0.874 MB / 3.104 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/7.846, allocations: 7.906 kB / 3.104 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/7.846, allocations: 3.984 kB / 3.104 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/7.846, allocations: 7.938 kB / 3.104 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/7.848, allocations: 0.7273 MB / 3.105 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/7.848, allocations: 0 / 3.105 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/7.849, allocations: 136.5 kB / 3.105 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008944/7.85, allocations: 86.69 kB / 3.105 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/7.85, allocations: 18.83 kB / 3.105 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/7.853, allocations: 1.475 MB / 3.106 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/7.853, allocations: 1.406 kB / 3.106 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/7.855, allocations: 0.7363 MB / 3.107 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008326/7.856, allocations: 272.5 kB / 3.107 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/7.857, allocations: 0 / 3.107 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/7.858, allocations: 55.16 kB / 3.107 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/7.858, allocations: 59.41 kB / 3.107 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/7.858, allocations: 30.14 kB / 3.107 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000743/7.859, allocations: 401.8 kB / 3.108 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.343e-06/7.859, allocations: 0 / 3.108 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001633/7.86, allocations: 301.2 kB / 3.108 GB, free: 248.2 MB / 0.9323 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 (82): * Single equations (assignments): 79 * 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.005128/7.866, allocations: 2.218 MB / 3.11 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001921/7.868, allocations: 0.6338 MB / 3.111 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/7.868, allocations: 0 / 3.111 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/7.869, allocations: 435.8 kB / 3.111 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/7.871, allocations: 216.2 kB / 3.111 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/7.877, allocations: 1.429 MB / 3.113 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/7.878, allocations: 1.008 MB / 3.114 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001632/7.88, allocations: 244.3 kB / 3.114 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/7.881, allocations: 339.8 kB / 3.114 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.643e-06/7.881, allocations: 4 kB / 3.114 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09635/7.977, allocations: 22.38 MB / 3.136 GB, free: 226.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/7.977, allocations: 219.9 kB / 3.136 GB, free: 225.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/11.62, allocations: 0 / 3.136 GB, free: 225.8 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)