Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.001414/0.001414, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001641/0.001641, allocations: 191.2 kB / 16.25 MB, free: 6.152 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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.435/2.435, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.27 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2152, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005194/0.2205, allocations: 4.868 MB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1276/0.348, allocations: 148.4 MB / 1.202 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005874/0.3487, allocations: 19.94 kB / 1.202 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.3492, allocations: 146.8 kB / 1.202 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.3506, allocations: 485 kB / 1.203 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.352, allocations: 0.7409 MB / 1.203 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.3532, allocations: 1.374 MB / 1.205 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/0.3539, allocations: 0.5753 MB / 1.205 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005131/0.3544, allocations: 486.3 kB / 1.206 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.3549, allocations: 0.4978 MB / 1.206 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.355, allocations: 116 kB / 1.206 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006183/0.3557, allocations: 463.6 kB / 1.207 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.3559, allocations: 295 kB / 1.207 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.3563, allocations: 0.5597 MB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.3576, allocations: 1.581 MB / 1.209 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3576, allocations: 0 / 1.209 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3576, allocations: 3.938 kB / 1.209 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.3576, allocations: 0 / 1.209 GB, free: 7.461 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002094/0.3597, allocations: 1.426 MB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3598, allocations: 12.62 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.3599, allocations: 135.4 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.3607, allocations: 187.4 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008291/0.3616, allocations: 0.7342 MB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3616, allocations: 58 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/0.3617, allocations: 84 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.363, allocations: 0.9106 MB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.363, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.3631, allocations: 39.94 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.3631, allocations: 20 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.3646, allocations: 1.108 MB / 1.214 GB, free: 2.617 MB / 0.9669 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.003209/0.3678, allocations: 2.701 MB / 1.216 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.3691, allocations: 0.8063 MB / 1.217 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.3695, allocations: 294.7 kB / 1.217 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-05/0.3696, allocations: 36.69 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000736/0.3703, allocations: 495.2 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 1.953e-06/0.3703, allocations: 0 / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.002715/0.3731, allocations: 1.19 MB / 1.219 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.3731, allocations: 192.6 kB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.3737, allocations: 0.6293 MB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/0.3738, allocations: 41.7 kB / 1.22 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.374, allocations: 400.2 kB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.3742, allocations: 252.3 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.3744, allocations: 154.5 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3745, allocations: 390.7 kB / 1.221 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.375, allocations: 245.9 kB / 1.221 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.3755, allocations: 362.5 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.3764, allocations: 0.5877 MB / 1.222 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3764, allocations: 4 kB / 1.222 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001594/0.378, allocations: 0.7981 MB / 1.223 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.378, allocations: 7.938 kB / 1.223 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.378, allocations: 7.984 kB / 1.223 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.3785, allocations: 84.77 kB / 1.223 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.3791, allocations: 159.7 kB / 1.223 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.3808, allocations: 1.627 MB / 1.225 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000732/0.3815, allocations: 88.95 kB / 1.225 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.909e-05/0.3816, allocations: 31.98 kB / 1.225 GB, free: 6.645 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 (87): * Single equations (assignments): 86 * 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.0004342/0.3821, allocations: 271.1 kB / 1.225 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.3823, allocations: 79.16 kB / 1.225 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.3853, allocations: 1.069 MB / 1.226 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.3854, allocations: 12 kB / 1.226 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3854, allocations: 7.938 kB / 1.226 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.3854, allocations: 3.984 kB / 1.226 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3866, allocations: 0.8879 MB / 1.227 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3866, allocations: 0 / 1.227 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/0.3874, allocations: 143.8 kB / 1.227 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.388, allocations: 76.72 kB / 1.227 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.552e-05/0.3881, allocations: 23.98 kB / 1.228 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.3903, allocations: 1.658 MB / 1.229 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3903, allocations: 0 / 1.229 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.3929, allocations: 0.9317 MB / 1.23 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.3933, allocations: 263.8 kB / 1.23 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.3935, allocations: 20 kB / 1.23 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/0.3943, allocations: 71.83 kB / 1.23 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.3945, allocations: 68.91 kB / 1.23 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.3946, allocations: 43.97 kB / 1.23 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006853/0.3953, allocations: 459 kB / 1.231 GB, free: 332 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.3953, allocations: 3.938 kB / 1.231 GB, free: 328 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009824/0.3963, allocations: 315.2 kB / 1.231 GB, free: 12 kB / 0.9825 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 (91): * Single equations (assignments): 85 * 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.004406/0.4007, allocations: 1.975 MB / 1.233 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002973/0.4037, allocations: 0.9953 MB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4037, allocations: 4 kB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.4049, allocations: 0.5081 MB / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.4064, allocations: 305.1 kB / 1.235 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.4165, allocations: 6.738 MB / 1.242 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.4169, allocations: 1.021 MB / 1.243 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00069/0.4176, allocations: 262.6 kB / 1.243 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.4181, allocations: 379.3 kB / 1.243 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.4181, allocations: 0 / 1.243 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.352/2.771, allocations: 21.06 MB / 1.264 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/2.771, allocations: 321.8 kB / 1.264 GB, free: 190 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.527/6.298, allocations: 6.531 kB / 1.264 GB, free: 190 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)