Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.011/2.011, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001109, allocations: 71.84 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.464, allocations: 140.4 MB / 0.949 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005571/0.4696, allocations: 6.431 MB / 0.9553 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1286/0.5982, allocations: 149.3 MB / 1.101 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008174/0.599, allocations: 23.88 kB / 1.101 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.5996, allocations: 194.4 kB / 1.101 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.6011, allocations: 0.5746 MB / 1.102 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.603, allocations: 1.21 MB / 1.103 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.6046, allocations: 2.465 MB / 1.105 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.6061, allocations: 1.553 MB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007554/0.6068, allocations: 0.9649 MB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009204/0.6078, allocations: 1.178 MB / 1.109 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.608, allocations: 164 kB / 1.109 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.6087, allocations: 0.4997 MB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003837/0.6091, allocations: 0.537 MB / 1.11 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007436/0.6099, allocations: 1.107 MB / 1.111 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.6121, allocations: 3.353 MB / 1.115 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6121, allocations: 0 / 1.115 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.92e-07/0.6121, allocations: 0 / 1.115 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.6121, allocations: 0 / 1.115 GB, free: 7.891 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004794/0.6169, allocations: 2.776 MB / 1.117 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.617, allocations: 8.031 kB / 1.117 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003068/0.6173, allocations: 316.9 kB / 1.118 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/0.6317, allocations: 2.112 MB / 1.12 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.6333, allocations: 1.262 MB / 1.121 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.6334, allocations: 168.5 kB / 1.121 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.6337, allocations: 224 kB / 1.121 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007077/0.6408, allocations: 3.278 MB / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.6408, allocations: 0 / 1.124 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/0.6411, allocations: 99.98 kB / 1.125 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.6411, allocations: 52 kB / 1.125 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.6519, allocations: 4.209 MB / 1.129 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.6644, allocations: 7.312 MB / 1.136 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007662/0.672, allocations: 2.88 MB / 1.139 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003723/0.6758, allocations: 1.489 MB / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/0.6764, allocations: 0.4996 MB / 1.141 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004364/0.6808, allocations: 1.855 MB / 1.142 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 3.226e-06/0.6808, allocations: 0 / 1.142 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01297/0.6938, allocations: 4.451 MB / 1.147 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.6939, allocations: 209.9 kB / 1.147 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/0.6948, allocations: 0.9451 MB / 1.148 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.695, allocations: 65.7 kB / 1.148 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.6955, allocations: 0.7465 MB / 1.149 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004899/0.696, allocations: 0.6814 MB / 1.149 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006373/0.6966, allocations: 371.3 kB / 1.15 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.6967, allocations: 305.1 kB / 1.15 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/0.7003, allocations: 1.234 MB / 1.151 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/0.7041, allocations: 1.433 MB / 1.153 GB, free: 324 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007206/0.7113, allocations: 2.579 MB / 1.155 GB, free: 13.71 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7113, allocations: 3.938 kB / 1.155 GB, free: 13.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008475/0.7198, allocations: 3.077 MB / 1.158 GB, free: 10.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.7198, allocations: 12.06 kB / 1.158 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7198, allocations: 0 / 1.158 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005285/0.7204, allocations: 84.77 kB / 1.158 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/0.7237, allocations: 0.5967 MB / 1.159 GB, free: 9.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.7254, allocations: 1.52 MB / 1.16 GB, free: 8.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.728, allocations: 366 kB / 1.161 GB, free: 7.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.7282, allocations: 96.02 kB / 1.161 GB, free: 7.824 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007109/0.7289, allocations: 439.7 kB / 1.161 GB, free: 7.387 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.7292, allocations: 154.1 kB / 1.161 GB, free: 7.234 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.7393, allocations: 3.724 MB / 1.165 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.7393, allocations: 24 kB / 1.165 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7393, allocations: 0 / 1.165 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.7393, allocations: 15.95 kB / 1.165 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.7417, allocations: 2.444 MB / 1.167 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.7417, allocations: 0 / 1.167 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003115/0.7449, allocations: 0.5616 MB / 1.168 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.7453, allocations: 88.77 kB / 1.168 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.7455, allocations: 75.86 kB / 1.168 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.7471, allocations: 1.548 MB / 1.17 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7471, allocations: 4.062 kB / 1.17 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008586/0.7557, allocations: 3.206 MB / 1.173 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006887/0.7564, allocations: 0.5452 MB / 1.173 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.7567, allocations: 51.84 kB / 1.173 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/0.7592, allocations: 265 kB / 1.174 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.7595, allocations: 149.8 kB / 1.174 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.7597, allocations: 99.97 kB / 1.174 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00076/0.7604, allocations: 0.7036 MB / 1.174 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7604, allocations: 0 / 1.174 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001273/0.7617, allocations: 0.6387 MB / 1.175 GB, free: 8.84 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01004/0.7718, allocations: 4.327 MB / 1.179 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008143/0.7799, allocations: 3.124 MB / 1.182 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7799, allocations: 0 / 1.182 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004274/0.7842, allocations: 1.751 MB / 1.184 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.7855, allocations: 337.9 kB / 1.184 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03528/0.8208, allocations: 17.9 MB / 1.202 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/0.8216, allocations: 1.43 MB / 1.203 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002819/0.8245, allocations: 0.5714 MB / 1.204 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/0.8259, allocations: 0.8818 MB / 1.205 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.8259, allocations: 0 / 1.205 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07734/0.9033, allocations: 40.19 MB / 1.244 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.9036, allocations: 301.2 kB / 1.244 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.479, allocations: 0 / 1.244 GB, free: 1.906 MB / 0.9981 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)