Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_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.000879/0.0008791, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005118/0.005118, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.358/2.358, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 12.47 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2242, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007004/0.2312, allocations: 7.837 MB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1269/0.3582, allocations: 147.9 MB / 1.211 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.3593, allocations: 23.88 kB / 1.211 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.3601, allocations: 238 kB / 1.211 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.3623, allocations: 0.7208 MB / 1.212 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.3646, allocations: 1.218 MB / 1.213 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002569/0.3672, allocations: 2.783 MB / 1.216 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.3687, allocations: 1.41 MB / 1.217 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007972/0.3695, allocations: 0.8127 MB / 1.218 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000953/0.3705, allocations: 0.9716 MB / 1.219 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.3706, allocations: 64 kB / 1.219 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.3714, allocations: 431.6 kB / 1.219 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.3717, allocations: 390.1 kB / 1.22 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.3725, allocations: 1.019 MB / 1.221 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.3748, allocations: 3.317 MB / 1.224 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.3748, allocations: 4 kB / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3748, allocations: 4 kB / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.3748, allocations: 0 / 1.224 GB, free: 11.05 MB / 0.9825 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.004432/0.3793, allocations: 2.312 MB / 1.226 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3793, allocations: 11.97 kB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/0.3796, allocations: 316.9 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.394, allocations: 2.307 MB / 1.229 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.3955, allocations: 1.27 MB / 1.23 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.3956, allocations: 164.5 kB / 1.23 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/0.396, allocations: 220 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007283/0.4033, allocations: 3.348 MB / 1.234 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.4033, allocations: 7.938 kB / 1.234 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.4036, allocations: 96 kB / 1.234 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.4036, allocations: 52 kB / 1.234 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.415, allocations: 4.353 MB / 1.238 GB, free: 12.36 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.428, allocations: 8.15 MB / 1.246 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008018/0.4361, allocations: 2.895 MB / 1.249 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3874/0.8235, allocations: 1.502 MB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/0.8242, allocations: 0.5039 MB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004656/0.8288, allocations: 1.861 MB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 3.427e-06/0.8288, allocations: 0 / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01267/0.8415, allocations: 4.517 MB / 1.257 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.8416, allocations: 205.9 kB / 1.257 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.8426, allocations: 0.9498 MB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.8428, allocations: 60.5 kB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.8432, allocations: 0.7467 MB / 1.259 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.8436, allocations: 0.6775 MB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.8439, allocations: 148.9 kB / 1.26 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.106e-05/0.8439, allocations: 301.1 kB / 1.26 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/0.8477, allocations: 1.248 MB / 1.261 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003743/0.8514, allocations: 1.446 MB / 1.263 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007626/0.859, allocations: 2.613 MB / 1.265 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8591, allocations: 0.6875 kB / 1.265 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009231/0.8683, allocations: 3.102 MB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8683, allocations: 9.516 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8683, allocations: 2.156 kB / 1.268 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.8689, allocations: 93.05 kB / 1.268 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.8726, allocations: 0.598 MB / 1.269 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.8743, allocations: 1.538 MB / 1.27 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/0.8771, allocations: 393.5 kB / 1.271 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.8773, allocations: 95.3 kB / 1.271 GB, free: 182.5 MB / 0.9981 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.0008351/0.8782, allocations: 439.7 kB / 1.271 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.8784, allocations: 159 kB / 1.271 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.8889, allocations: 3.742 MB / 1.275 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.8889, allocations: 27.8 kB / 1.275 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8889, allocations: 0 / 1.275 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.8889, allocations: 12.61 kB / 1.275 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.8914, allocations: 2.454 MB / 1.278 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.8914, allocations: 0 / 1.278 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/0.8947, allocations: 0.5674 MB / 1.278 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.8951, allocations: 88.44 kB / 1.278 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/0.8953, allocations: 72.31 kB / 1.278 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.8967, allocations: 1.557 MB / 1.28 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8967, allocations: 1.562 kB / 1.28 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008803/0.9055, allocations: 3.245 MB / 1.283 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/0.9062, allocations: 0.574 MB / 1.283 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.9064, allocations: 45.48 kB / 1.284 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/0.9091, allocations: 304.5 kB / 1.284 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/0.9094, allocations: 155.4 kB / 1.284 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.9096, allocations: 94.53 kB / 1.284 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007507/0.9103, allocations: 0.7003 MB / 1.285 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9103, allocations: 0 / 1.285 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001424/0.9117, allocations: 0.669 MB / 1.285 GB, free: 176.4 MB / 0.9981 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.00982/0.9216, allocations: 4.353 MB / 1.29 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008027/0.9296, allocations: 3.16 MB / 1.293 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9296, allocations: 5.656 kB / 1.293 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004049/0.9337, allocations: 1.762 MB / 1.294 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.9351, allocations: 373.6 kB / 1.295 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/0.9666, allocations: 17.76 MB / 1.312 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.9672, allocations: 1.423 MB / 1.314 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002619/0.9699, allocations: 0.5834 MB / 1.314 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.9712, allocations: 0.8779 MB / 1.315 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.9712, allocations: 0 / 1.315 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.467/4.438, allocations: 40.4 MB / 1.354 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/4.439, allocations: 306.5 kB / 1.355 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/7.57, allocations: 2.531 kB / 1.355 GB, free: 113.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)