Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001505/0.001505, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.467/2.467, allocations: 469.8 MB / 0.7424 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 62.92 kB / 0.9086 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2331, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006912/0.2401, allocations: 5.957 MB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1478/0.3879, allocations: 150.8 MB / 1.217 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/0.3886, allocations: 19.88 kB / 1.217 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.3893, allocations: 237.7 kB / 1.217 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.3908, allocations: 0.621 MB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.3925, allocations: 0.8727 MB / 1.219 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.3939, allocations: 1.646 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.3949, allocations: 0.8617 MB / 1.221 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/0.3955, allocations: 0.6112 MB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.3961, allocations: 0.6573 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.3963, allocations: 152 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006746/0.397, allocations: 499.6 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.3973, allocations: 374.8 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005891/0.3979, allocations: 0.7463 MB / 1.224 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.3996, allocations: 1.974 MB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3996, allocations: 0 / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3996, allocations: 0 / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.3996, allocations: 3.938 kB / 1.226 GB, free: 7.492 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002497/0.4021, allocations: 1.724 MB / 1.228 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.4022, allocations: 8.031 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.4024, allocations: 185.8 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/0.4032, allocations: 223 kB / 1.228 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4043, allocations: 0.8442 MB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.4044, allocations: 86.41 kB / 1.229 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4045, allocations: 116 kB / 1.229 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.4063, allocations: 1.206 MB / 1.231 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.4063, allocations: 0 / 1.231 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.4064, allocations: 51.98 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4064, allocations: 28 kB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.4083, allocations: 1.289 MB / 1.232 GB, free: 1.562 MB / 0.9825 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.004448/0.4128, allocations: 3.593 MB / 1.235 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4143, allocations: 0.8676 MB / 1.236 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.4149, allocations: 326.7 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.4149, allocations: 32.59 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008552/0.4158, allocations: 0.5172 MB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 1.863e-06/0.4158, allocations: 0 / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003056/0.4189, allocations: 1.286 MB / 1.238 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.419, allocations: 188.9 kB / 1.238 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.4198, allocations: 0.7392 MB / 1.239 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.4199, allocations: 41.7 kB / 1.239 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.4203, allocations: 0.5154 MB / 1.24 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.4205, allocations: 283.9 kB / 1.24 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.4207, allocations: 154.5 kB / 1.24 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4209, allocations: 337.9 kB / 1.24 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.4214, allocations: 269.9 kB / 1.241 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.422, allocations: 390.5 kB / 1.241 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4231, allocations: 0.632 MB / 1.242 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4231, allocations: 0 / 1.242 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001826/0.4249, allocations: 0.8759 MB / 1.243 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.425, allocations: 11.94 kB / 1.243 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.425, allocations: 0 / 1.243 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.4255, allocations: 80.88 kB / 1.243 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.4261, allocations: 171.7 kB / 1.243 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.4281, allocations: 1.632 MB / 1.244 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/0.4287, allocations: 104.7 kB / 1.245 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.4287, allocations: 27.98 kB / 1.245 GB, free: 4.039 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003726/0.4291, allocations: 297.5 kB / 1.245 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.4293, allocations: 94.78 kB / 1.245 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.4316, allocations: 1.126 MB / 1.246 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.4316, allocations: 8 kB / 1.246 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4316, allocations: 112 / 1.246 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4316, allocations: 15.91 kB / 1.246 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.4328, allocations: 1.056 MB / 1.247 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.4328, allocations: 0 / 1.247 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.4333, allocations: 159.7 kB / 1.247 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/0.4338, allocations: 76.77 kB / 1.247 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.4338, allocations: 27.92 kB / 1.247 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3428/0.7766, allocations: 1.654 MB / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7766, allocations: 0.5625 kB / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.7786, allocations: 0.9846 MB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.7789, allocations: 290.2 kB / 1.25 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.7791, allocations: 25.66 kB / 1.25 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.7797, allocations: 65.47 kB / 1.25 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.7798, allocations: 73.73 kB / 1.25 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.7799, allocations: 37.67 kB / 1.25 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005849/0.7805, allocations: 0.5201 MB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.7805, allocations: 0 / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007674/0.7813, allocations: 378.8 kB / 1.251 GB, free: 184.5 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003356/0.7846, allocations: 2.044 MB / 1.253 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.7867, allocations: 1.079 MB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7867, allocations: 0 / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007215/0.7874, allocations: 0.5398 MB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000994/0.7884, allocations: 323.2 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007671/0.7961, allocations: 7.376 MB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.7965, allocations: 1.113 MB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007144/0.7973, allocations: 293.8 kB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.7977, allocations: 484.1 kB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.7977, allocations: 0 / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.904/3.702, allocations: 23.87 MB / 1.287 GB, free: 173 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.75/24.45, allocations: 4.375 kB / 1.287 GB, free: 173 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)