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.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.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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 152 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.001234/0.001234, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.229/1.229, 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.0.1-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.08 kB / 0.8992 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2307, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006509/0.2372, allocations: 5.976 MB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.3698, allocations: 150.8 MB / 1.206 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/0.3705, allocations: 19.88 kB / 1.206 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.371, allocations: 233.7 kB / 1.206 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.3725, allocations: 0.6244 MB / 1.207 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.3741, allocations: 0.8608 MB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.3753, allocations: 1.646 MB / 1.209 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009191/0.3762, allocations: 0.8656 MB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.3767, allocations: 0.6112 MB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.3773, allocations: 0.6622 MB / 1.211 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.3774, allocations: 152 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006583/0.3781, allocations: 499.6 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.3784, allocations: 370.8 kB / 1.212 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.3789, allocations: 0.7424 MB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.3804, allocations: 1.982 MB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3804, allocations: 0 / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3804, allocations: 0 / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.3805, allocations: 0 / 1.215 GB, free: 1.555 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.002338/0.3828, allocations: 1.724 MB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3828, allocations: 8.625 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.383, allocations: 181.8 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008531/0.3839, allocations: 227 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009394/0.3848, allocations: 0.8403 MB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.3849, allocations: 86.41 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.385, allocations: 116 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.3867, allocations: 1.202 MB / 1.219 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3867, allocations: 4 kB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.3868, allocations: 48 kB / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.3868, allocations: 31.98 kB / 1.219 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.3886, allocations: 1.289 MB / 1.221 GB, free: 11.63 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.004077/0.3927, allocations: 3.597 MB / 1.224 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.3941, allocations: 0.8599 MB / 1.225 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/0.3946, allocations: 330.7 kB / 1.225 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-05/0.3947, allocations: 32.59 kB / 1.225 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007717/0.3955, allocations: 0.5235 MB / 1.226 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=87): time 1.984e-06/0.3955, allocations: 0 / 1.226 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87): time 0.002973/0.3985, allocations: 1.278 MB / 1.227 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.3986, allocations: 192.9 kB / 1.227 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/0.3993, allocations: 0.7392 MB / 1.228 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.3994, allocations: 41.7 kB / 1.228 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.3997, allocations: 0.5154 MB / 1.229 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.3999, allocations: 283.9 kB / 1.229 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.4001, allocations: 154.5 kB / 1.229 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4002, allocations: 341.9 kB / 1.229 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.4007, allocations: 269.9 kB / 1.23 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.4013, allocations: 386.5 kB / 1.23 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4023, allocations: 0.632 MB / 1.231 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4023, allocations: 0 / 1.231 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001776/0.4041, allocations: 0.876 MB / 1.231 GB, free: 264 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4042, allocations: 15.88 kB / 1.231 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4042, allocations: 0 / 1.231 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/0.4047, allocations: 84.86 kB / 1.232 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.4054, allocations: 163.8 kB / 1.232 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.4072, allocations: 1.641 MB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.4078, allocations: 96.7 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.4079, allocations: 27.98 kB / 1.233 GB, free: 14.09 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.0004197/0.4083, allocations: 297.5 kB / 1.234 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.4085, allocations: 94.78 kB / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.4108, allocations: 1.133 MB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.4108, allocations: 8 kB / 1.235 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4108, allocations: 3.984 kB / 1.235 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.4108, allocations: 7.984 kB / 1.235 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.4119, allocations: 1.052 MB / 1.236 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4119, allocations: 0 / 1.236 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.4125, allocations: 159.7 kB / 1.236 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/0.4129, allocations: 72.78 kB / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.413, allocations: 27.92 kB / 1.236 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.4147, allocations: 1.658 MB / 1.238 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4147, allocations: 0 / 1.238 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.4166, allocations: 0.9902 MB / 1.239 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.4169, allocations: 295.5 kB / 1.239 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.4171, allocations: 16 kB / 1.239 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.4177, allocations: 67.88 kB / 1.239 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4178, allocations: 76.89 kB / 1.239 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.4179, allocations: 39.97 kB / 1.239 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005659/0.4185, allocations: 0.5068 MB / 1.24 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4185, allocations: 0 / 1.24 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007847/0.4193, allocations: 390.7 kB / 1.24 GB, free: 6.969 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.003131/0.4224, allocations: 2.038 MB / 1.242 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.4246, allocations: 1.069 MB / 1.243 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4246, allocations: 0 / 1.243 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008718/0.4255, allocations: 0.5393 MB / 1.244 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4266, allocations: 333.9 kB / 1.244 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3683/0.7949, allocations: 7.37 MB / 1.251 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.7953, allocations: 1.111 MB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007987/0.7962, allocations: 289 kB / 1.253 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.7966, allocations: 481 kB / 1.253 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.7966, allocations: 0 / 1.253 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.4/2.197, allocations: 23.86 MB / 1.276 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/16.77, allocations: 16.92 kB / 1.276 GB, free: 183.8 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)