Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_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.0008458/0.0008459, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004722/0.004722, allocations: 171.6 kB / 16.26 MB, free: 6.676 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.179/1.179, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.231/2.231, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002973, allocations: 11.98 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.51, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00767/0.5177, allocations: 7.882 MB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1366/0.6544, allocations: 147.9 MB / 1.175 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.6557, allocations: 23.88 kB / 1.175 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.6565, allocations: 238 kB / 1.175 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.6588, allocations: 0.7317 MB / 1.176 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.6612, allocations: 1.226 MB / 1.177 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002743/0.6639, allocations: 2.779 MB / 1.18 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.6655, allocations: 1.402 MB / 1.181 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008869/0.6664, allocations: 0.8127 MB / 1.182 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009543/0.6674, allocations: 0.9677 MB / 1.183 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.6675, allocations: 64 kB / 1.183 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.6683, allocations: 435.6 kB / 1.184 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.6686, allocations: 394.1 kB / 1.184 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007329/0.6694, allocations: 1.023 MB / 1.185 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.6717, allocations: 3.313 MB / 1.188 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6717, allocations: 4 kB / 1.188 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6717, allocations: 4 kB / 1.188 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.6717, allocations: 0 / 1.188 GB, free: 5.98 MB / 0.9356 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.004449/0.6762, allocations: 2.316 MB / 1.191 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6762, allocations: 8.031 kB / 1.191 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003315/0.6765, allocations: 320.9 kB / 1.191 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.6913, allocations: 2.296 MB / 1.193 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.6928, allocations: 1.262 MB / 1.194 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.6929, allocations: 172.5 kB / 1.195 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003477/0.6933, allocations: 224 kB / 1.195 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007459/0.7008, allocations: 3.356 MB / 1.198 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.7008, allocations: 3.984 kB / 1.198 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/0.7011, allocations: 100 kB / 1.198 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.7011, allocations: 55.94 kB / 1.198 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.7125, allocations: 4.342 MB / 1.202 GB, free: 7.285 MB / 0.9512 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.0132/0.7257, allocations: 8.148 MB / 1.21 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008349/0.7341, allocations: 2.899 MB / 1.213 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004163/0.7383, allocations: 1.501 MB / 1.215 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.7389, allocations: 0.5074 MB / 1.215 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004588/0.7435, allocations: 1.851 MB / 1.217 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=213): time 3.056e-06/0.7435, allocations: 0 / 1.217 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=213): time 0.01376/0.7573, allocations: 4.517 MB / 1.221 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.7574, allocations: 201.9 kB / 1.222 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.7585, allocations: 0.9529 MB / 1.223 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.7586, allocations: 61.7 kB / 1.223 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.7591, allocations: 0.7465 MB / 1.223 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/0.7597, allocations: 0.6814 MB / 1.224 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.7599, allocations: 145.6 kB / 1.224 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.76, allocations: 301.1 kB / 1.224 GB, free: 280 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003982/0.764, allocations: 1.253 MB / 1.226 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00408/0.7681, allocations: 1.453 MB / 1.227 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/0.7759, allocations: 2.61 MB / 1.23 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7759, allocations: 0 / 1.23 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009183/0.7851, allocations: 3.108 MB / 1.233 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7851, allocations: 4 kB / 1.233 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7851, allocations: 4 kB / 1.233 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005497/0.7857, allocations: 88.83 kB / 1.233 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/0.7891, allocations: 0.5967 MB / 1.233 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.7909, allocations: 1.537 MB / 1.235 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.7938, allocations: 401.9 kB / 1.235 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.794, allocations: 91.89 kB / 1.235 GB, free: 4.922 MB / 0.9825 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.0007398/0.7947, allocations: 432.2 kB / 1.236 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.795, allocations: 154.1 kB / 1.236 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.8057, allocations: 3.755 MB / 1.239 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.8057, allocations: 24 kB / 1.24 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8057, allocations: 0 / 1.24 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.8058, allocations: 11.95 kB / 1.24 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.8082, allocations: 2.467 MB / 1.242 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8083, allocations: 0 / 1.242 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/0.8115, allocations: 0.5695 MB / 1.242 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/0.812, allocations: 92.77 kB / 1.243 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.8122, allocations: 71.86 kB / 1.243 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.8138, allocations: 1.552 MB / 1.244 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8138, allocations: 0 / 1.244 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0091/0.8229, allocations: 3.242 MB / 1.247 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007498/0.8237, allocations: 0.5762 MB / 1.248 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.824, allocations: 44 kB / 1.248 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/0.8267, allocations: 310.1 kB / 1.248 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.827, allocations: 149.8 kB / 1.248 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/0.8272, allocations: 91.91 kB / 1.248 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008239/0.828, allocations: 0.7036 MB / 1.249 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.828, allocations: 0 / 1.249 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001323/0.8294, allocations: 0.6699 MB / 1.25 GB, free: 5.77 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.01072/0.8401, allocations: 4.369 MB / 1.254 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3894/1.23, allocations: 3.146 MB / 1.257 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.23, allocations: 1.281 kB / 1.257 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004782/1.234, allocations: 1.769 MB / 1.259 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/1.236, allocations: 360.8 kB / 1.259 GB, free: 227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/1.273, allocations: 17.76 MB / 1.277 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/1.274, allocations: 1.423 MB / 1.278 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002884/1.277, allocations: 0.5813 MB / 1.279 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.278, allocations: 0.8778 MB / 1.279 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.278, allocations: 0 / 1.279 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6975/1.976, allocations: 40.41 MB / 1.319 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.976, allocations: 305.1 kB / 1.319 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/4.817, allocations: 2.188 kB / 1.319 GB, free: 183.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)