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.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.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.0009422/0.0009421, allocations: 97.56 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.006987/0.006987, allocations: 172.7 kB / 16.27 MB, free: 6.648 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.365/2.365, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002752, allocations: 8.781 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2304, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00467/0.2351, allocations: 4.436 MB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1327/0.3678, allocations: 146.7 MB / 1.206 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.3685, allocations: 15.88 kB / 1.206 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.3691, allocations: 150.8 kB / 1.207 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.3705, allocations: 460.8 kB / 1.207 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.3721, allocations: 0.7266 MB / 1.208 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3734, allocations: 1.273 MB / 1.209 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/0.3741, allocations: 0.5517 MB / 1.209 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.3745, allocations: 342.4 kB / 1.21 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.3749, allocations: 389.9 kB / 1.21 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.3749, allocations: 24 kB / 1.21 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006168/0.3756, allocations: 367.6 kB / 1.211 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3757, allocations: 195.1 kB / 1.211 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.3761, allocations: 474.8 kB / 1.211 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3772, allocations: 1.475 MB / 1.213 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3773, allocations: 0 / 1.213 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3773, allocations: 3.938 kB / 1.213 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.3773, allocations: 0 / 1.213 GB, free: 6.77 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.001902/0.3792, allocations: 1.225 MB / 1.214 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3792, allocations: 8.031 kB / 1.214 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.3794, allocations: 139.3 kB / 1.214 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.3802, allocations: 199.4 kB / 1.214 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.3811, allocations: 0.7381 MB / 1.215 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.3811, allocations: 58 kB / 1.215 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3812, allocations: 87.94 kB / 1.215 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.3826, allocations: 0.9184 MB / 1.216 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3826, allocations: 0 / 1.216 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/0.3827, allocations: 36 kB / 1.216 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.3827, allocations: 24 kB / 1.216 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.3843, allocations: 1.108 MB / 1.217 GB, free: 2.102 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.003424/0.3877, allocations: 2.736 MB / 1.22 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.3891, allocations: 0.8102 MB / 1.22 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.3895, allocations: 306.7 kB / 1.221 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.595e-05/0.3896, allocations: 32.61 kB / 1.221 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007676/0.3904, allocations: 499 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 1.633e-06/0.3904, allocations: 0 / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.002855/0.3933, allocations: 1.206 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.3934, allocations: 192.6 kB / 1.223 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.394, allocations: 0.6408 MB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.3941, allocations: 37.7 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.3944, allocations: 396.4 kB / 1.224 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.3945, allocations: 256.3 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.3946, allocations: 61.69 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3948, allocations: 390.7 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.3952, allocations: 249.9 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.3957, allocations: 362.6 kB / 1.225 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.3967, allocations: 0.5955 MB / 1.226 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3967, allocations: 0 / 1.226 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001655/0.3984, allocations: 0.8136 MB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3984, allocations: 4 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3984, allocations: 4 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.399, allocations: 88.75 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.3996, allocations: 159.8 kB / 1.227 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.4013, allocations: 1.505 MB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.4019, allocations: 115.7 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.402, allocations: 27.98 kB / 1.228 GB, free: 6.234 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.0003186/0.4023, allocations: 273.5 kB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4024, allocations: 83 kB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.4046, allocations: 1.073 MB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4046, allocations: 12 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.4046, allocations: 0 / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4046, allocations: 3.984 kB / 1.23 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008687/0.4055, allocations: 0.8917 MB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4055, allocations: 0 / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.4061, allocations: 151.8 kB / 1.231 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.4066, allocations: 76.78 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.4066, allocations: 31.97 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.4082, allocations: 1.548 MB / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4082, allocations: 3.984 kB / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.4099, allocations: 0.9357 MB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.4103, allocations: 283.7 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.4104, allocations: 20.06 kB / 1.233 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.411, allocations: 87.78 kB / 1.234 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.4111, allocations: 72.89 kB / 1.234 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.4112, allocations: 35.97 kB / 1.234 GB, free: 420 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004785/0.4117, allocations: 455.1 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4117, allocations: 0 / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006671/0.4123, allocations: 319.3 kB / 1.234 GB, free: 15.66 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 (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.00308/0.4154, allocations: 1.982 MB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.4168, allocations: 0.7961 MB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4168, allocations: 192 / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.4177, allocations: 0.5352 MB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4188, allocations: 276 kB / 1.238 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009754/0.4286, allocations: 6.772 MB / 1.244 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.4291, allocations: 1.016 MB / 1.245 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007297/0.4298, allocations: 266.6 kB / 1.246 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.4303, allocations: 375.3 kB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/0.4303, allocations: 0 / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.84/2.27, allocations: 20.18 MB / 1.266 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/2.27, allocations: 326.3 kB / 1.266 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/4.371, allocations: 0.6875 kB / 1.266 GB, free: 186.4 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)