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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001819/0.001819, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001826/0.001826, allocations: 188.8 kB / 16.25 MB, free: 6.641 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.2/1.2, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.06/2.06, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4862, allocations: 140.4 MB / 0.9492 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005899/0.4922, allocations: 6.431 MB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1317/0.6239, allocations: 149.4 MB / 1.101 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.6251, allocations: 27.88 kB / 1.101 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007709/0.6259, allocations: 194.4 kB / 1.102 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.628, allocations: 0.5974 MB / 1.102 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.6304, allocations: 1.226 MB / 1.103 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002381/0.6327, allocations: 2.672 MB / 1.106 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.6343, allocations: 1.596 MB / 1.108 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.6354, allocations: 1.141 MB / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.6364, allocations: 1.292 MB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002968/0.6368, allocations: 328 kB / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008878/0.6376, allocations: 0.6637 MB / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.6381, allocations: 0.7049 MB / 1.112 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008159/0.6389, allocations: 1.267 MB / 1.113 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.6414, allocations: 3.49 MB / 1.116 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6414, allocations: 0 / 1.116 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6414, allocations: 0 / 1.116 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.6415, allocations: 0 / 1.116 GB, free: 6.539 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.6463, allocations: 2.784 MB / 1.119 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.6463, allocations: 8.031 kB / 1.119 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003101/0.6466, allocations: 316.9 kB / 1.119 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.6605, allocations: 2.108 MB / 1.121 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.6622, allocations: 1.266 MB / 1.123 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.6623, allocations: 168.5 kB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003153/0.6626, allocations: 220 kB / 1.123 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007163/0.6698, allocations: 3.278 MB / 1.126 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.6698, allocations: 3.938 kB / 1.126 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.6701, allocations: 99.92 kB / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.6701, allocations: 56 kB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.6809, allocations: 4.201 MB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.6938, allocations: 7.312 MB / 1.137 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007736/0.7015, allocations: 2.883 MB / 1.14 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/0.7053, allocations: 1.489 MB / 1.142 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.7059, allocations: 0.5035 MB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004377/0.7103, allocations: 1.848 MB / 1.144 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 3.587e-06/0.7103, allocations: 0 / 1.144 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01271/0.723, allocations: 4.454 MB / 1.148 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.7231, allocations: 209.9 kB / 1.149 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.7243, allocations: 0.9489 MB / 1.15 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.7244, allocations: 65.7 kB / 1.15 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/0.7249, allocations: 0.7427 MB / 1.15 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/0.7255, allocations: 0.6814 MB / 1.151 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006856/0.7262, allocations: 375.3 kB / 1.151 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.7262, allocations: 301.1 kB / 1.152 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/0.7299, allocations: 1.237 MB / 1.153 GB, free: 428 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003816/0.7337, allocations: 1.429 MB / 1.154 GB, free: 14.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007232/0.741, allocations: 2.587 MB / 1.157 GB, free: 12.35 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.741, allocations: 0 / 1.157 GB, free: 12.35 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008587/0.7496, allocations: 3.073 MB / 1.16 GB, free: 9.262 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7496, allocations: 8.062 kB / 1.16 GB, free: 9.254 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7496, allocations: 4 kB / 1.16 GB, free: 9.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005404/0.7502, allocations: 88.77 kB / 1.16 GB, free: 9.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.7534, allocations: 0.5889 MB / 1.16 GB, free: 8.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.7553, allocations: 1.634 MB / 1.162 GB, free: 6.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.758, allocations: 364.3 kB / 1.162 GB, free: 6.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.7582, allocations: 91.89 kB / 1.162 GB, free: 6.348 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.0008064/0.7591, allocations: 439.9 kB / 1.163 GB, free: 5.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.7594, allocations: 154.1 kB / 1.163 GB, free: 5.758 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.7697, allocations: 3.724 MB / 1.167 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.7697, allocations: 24 kB / 1.167 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7697, allocations: 0 / 1.167 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.7697, allocations: 11.95 kB / 1.167 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.7723, allocations: 2.444 MB / 1.169 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.7723, allocations: 3.938 kB / 1.169 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/0.7755, allocations: 0.5616 MB / 1.17 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.7759, allocations: 76.78 kB / 1.17 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.7762, allocations: 79.91 kB / 1.17 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.7778, allocations: 1.662 MB / 1.171 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.7778, allocations: 0 / 1.171 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008665/0.7865, allocations: 3.214 MB / 1.175 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/0.7872, allocations: 0.5452 MB / 1.175 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/0.7876, allocations: 47.84 kB / 1.175 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/0.79, allocations: 273 kB / 1.175 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.7903, allocations: 149.8 kB / 1.176 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/0.7905, allocations: 95.91 kB / 1.176 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008099/0.7913, allocations: 0.7036 MB / 1.176 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7914, allocations: 0 / 1.176 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001445/0.7928, allocations: 0.6348 MB / 1.177 GB, free: 7.246 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.01013/0.8029, allocations: 4.331 MB / 1.181 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01132/0.8143, allocations: 3.631 MB / 1.185 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8143, allocations: 0 / 1.185 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004115/0.8184, allocations: 1.759 MB / 1.186 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.8198, allocations: 362.7 kB / 1.187 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03623/0.856, allocations: 17.9 MB / 1.204 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009162/0.857, allocations: 1.422 MB / 1.206 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003017/0.86, allocations: 0.5714 MB / 1.206 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/0.8615, allocations: 0.8779 MB / 1.207 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/0.8615, allocations: 0 / 1.207 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.547/3.409, allocations: 41.34 MB / 1.247 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/3.409, allocations: 302.5 kB / 1.248 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/6.037, allocations: 0.7031 kB / 1.248 GB, free: 280.9 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)