Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001109/0.001109, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.384/2.384, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 63.7 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2284, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006598/0.235, allocations: 5.961 MB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1372/0.3722, allocations: 148.5 MB / 1.203 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.3731, allocations: 19.88 kB / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.3739, allocations: 182.6 kB / 1.203 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.3757, allocations: 0.534 MB / 1.204 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.3774, allocations: 0.7604 MB / 1.204 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.3789, allocations: 1.541 MB / 1.206 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009437/0.3799, allocations: 0.8464 MB / 1.207 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.3804, allocations: 0.5369 MB / 1.207 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.3809, allocations: 0.6221 MB / 1.208 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.381, allocations: 88 kB / 1.208 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006715/0.3817, allocations: 427.6 kB / 1.208 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.382, allocations: 306.8 kB / 1.209 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005046/0.3825, allocations: 0.6799 MB / 1.209 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.384, allocations: 1.92 MB / 1.211 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.384, allocations: 0 / 1.211 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.91e-07/0.384, allocations: 0 / 1.211 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.384, allocations: 4 kB / 1.211 GB, free: 4.637 MB / 0.9669 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.002524/0.3865, allocations: 1.724 MB / 1.213 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3866, allocations: 8.031 kB / 1.213 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.3867, allocations: 185.8 kB / 1.213 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.3876, allocations: 219 kB / 1.213 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009822/0.3886, allocations: 0.8442 MB / 1.214 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.3887, allocations: 86.41 kB / 1.214 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.3888, allocations: 123.9 kB / 1.214 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3906, allocations: 1.206 MB / 1.216 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3906, allocations: 4 kB / 1.216 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.3907, allocations: 48 kB / 1.216 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3907, allocations: 28 kB / 1.216 GB, free: 0 / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3926, allocations: 1.281 MB / 1.217 GB, free: 14.71 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.00433/0.397, allocations: 3.597 MB / 1.22 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.3984, allocations: 0.8676 MB / 1.221 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.399, allocations: 326.7 kB / 1.222 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.3991, allocations: 32.61 kB / 1.222 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008372/0.3999, allocations: 0.5119 MB / 1.222 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=87): time 1.844e-06/0.3999, allocations: 4 kB / 1.222 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87): time 0.003037/0.403, allocations: 1.286 MB / 1.223 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.4031, allocations: 188.9 kB / 1.224 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007962/0.4039, allocations: 0.7353 MB / 1.224 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.4039, allocations: 41.7 kB / 1.224 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.4043, allocations: 0.5154 MB / 1.225 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.4045, allocations: 283.9 kB / 1.225 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.4047, allocations: 158.5 kB / 1.225 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4048, allocations: 338 kB / 1.226 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.4053, allocations: 265.9 kB / 1.226 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.4059, allocations: 394.5 kB / 1.226 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.4069, allocations: 0.6359 MB / 1.227 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4069, allocations: 0 / 1.227 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001781/0.4087, allocations: 0.8682 MB / 1.228 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4088, allocations: 7.938 kB / 1.228 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4088, allocations: 3.984 kB / 1.228 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/0.4093, allocations: 84.81 kB / 1.228 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.41, allocations: 167.8 kB / 1.228 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.4118, allocations: 1.524 MB / 1.229 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.4124, allocations: 104.7 kB / 1.229 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.4125, allocations: 31.97 kB / 1.23 GB, free: 1.285 MB / 0.9825 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.0003617/0.4128, allocations: 303.7 kB / 1.23 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.413, allocations: 94.88 kB / 1.23 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.4152, allocations: 1.13 MB / 1.231 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.4153, allocations: 11.94 kB / 1.231 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4153, allocations: 8 kB / 1.231 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4153, allocations: 7.922 kB / 1.231 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4163, allocations: 1.052 MB / 1.232 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4163, allocations: 0 / 1.232 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.4169, allocations: 151.8 kB / 1.232 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.4174, allocations: 84.77 kB / 1.232 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.4174, allocations: 27.98 kB / 1.232 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.4191, allocations: 1.556 MB / 1.234 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4191, allocations: 0 / 1.234 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.4209, allocations: 0.9785 MB / 1.235 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.4213, allocations: 299.4 kB / 1.235 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.4214, allocations: 19.98 kB / 1.235 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.422, allocations: 71.92 kB / 1.235 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.4222, allocations: 68.97 kB / 1.235 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/0.4222, allocations: 39.97 kB / 1.235 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005718/0.4228, allocations: 0.5185 MB / 1.236 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4228, allocations: 0 / 1.236 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007305/0.4236, allocations: 382.8 kB / 1.236 GB, free: 10.26 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.003398/0.427, allocations: 2.046 MB / 1.238 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.4285, allocations: 0.8468 MB / 1.239 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4285, allocations: 4.188 kB / 1.239 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009176/0.4294, allocations: 0.5471 MB / 1.239 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4306, allocations: 299.9 kB / 1.24 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4034/0.8339, allocations: 7.874 MB / 1.247 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.8345, allocations: 1.109 MB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009031/0.8354, allocations: 290.8 kB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.8359, allocations: 486.6 kB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/0.836, allocations: 0 / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.8752, allocations: 23.03 MB / 1.272 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.8754, allocations: 320 kB / 1.272 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/3.106, allocations: 0 / 1.272 GB, free: 184.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)