Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_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.001208/0.001208, allocations: 103.4 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.001166/0.001166, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.189/1.189, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.265/2.265, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 67.89 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4798, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005696/0.4855, allocations: 4.857 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1361/0.6217, allocations: 148.4 MB / 1.167 GB, free: 8.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.6224, allocations: 15.94 kB / 1.167 GB, free: 8.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.623, allocations: 154.8 kB / 1.167 GB, free: 8.711 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.6246, allocations: 481.4 kB / 1.167 GB, free: 8.242 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.6262, allocations: 0.7516 MB / 1.168 GB, free: 7.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.6274, allocations: 1.37 MB / 1.169 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007053/0.6281, allocations: 0.5792 MB / 1.17 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.6286, allocations: 474.3 kB / 1.17 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.6291, allocations: 0.5017 MB / 1.171 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.6292, allocations: 123.9 kB / 1.171 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006574/0.6299, allocations: 459.7 kB / 1.171 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.6301, allocations: 295 kB / 1.172 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.6306, allocations: 0.5558 MB / 1.172 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.6319, allocations: 1.585 MB / 1.174 GB, free: 1.547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6319, allocations: 0 / 1.174 GB, free: 1.547 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6319, allocations: 0 / 1.174 GB, free: 1.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.6319, allocations: 0 / 1.174 GB, free: 1.547 MB / 0.92 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.002137/0.634, allocations: 1.43 MB / 1.175 GB, free: 56 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.6341, allocations: 12.03 kB / 1.175 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.6342, allocations: 135.4 kB / 1.175 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/0.6351, allocations: 183.4 kB / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.6359, allocations: 0.7381 MB / 1.176 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.636, allocations: 66 kB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.6361, allocations: 80 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.6374, allocations: 0.9145 MB / 1.177 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.6375, allocations: 0 / 1.177 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.6376, allocations: 32 kB / 1.177 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.6376, allocations: 20 kB / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.6392, allocations: 1.1 MB / 1.178 GB, free: 12.7 MB / 0.9356 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.003425/0.6427, allocations: 2.704 MB / 1.181 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.644, allocations: 0.8057 MB / 1.182 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.6445, allocations: 298.7 kB / 1.182 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-05/0.6445, allocations: 24.69 kB / 1.182 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007841/0.6453, allocations: 495.1 kB / 1.182 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 2.124e-06/0.6453, allocations: 0 / 1.182 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.002911/0.6482, allocations: 1.201 MB / 1.184 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.6483, allocations: 188.6 kB / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.649, allocations: 0.6293 MB / 1.184 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.6491, allocations: 41.7 kB / 1.184 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.6494, allocations: 404.3 kB / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.6495, allocations: 252.3 kB / 1.185 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.6498, allocations: 150.5 kB / 1.185 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.6499, allocations: 386.7 kB / 1.186 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.6504, allocations: 249.9 kB / 1.186 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.6509, allocations: 354.6 kB / 1.186 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009614/0.6519, allocations: 0.5877 MB / 1.187 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6519, allocations: 0 / 1.187 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001685/0.6536, allocations: 0.8097 MB / 1.188 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6536, allocations: 4 kB / 1.188 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6536, allocations: 0 / 1.188 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.6542, allocations: 84.78 kB / 1.188 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.6548, allocations: 151.8 kB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.6567, allocations: 1.642 MB / 1.189 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.6573, allocations: 96.84 kB / 1.19 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.6574, allocations: 27.98 kB / 1.19 GB, free: 0.7266 MB / 0.9356 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.0003086/0.6577, allocations: 269.5 kB / 1.19 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6578, allocations: 82.97 kB / 1.19 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.6601, allocations: 1.054 MB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6601, allocations: 8 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6601, allocations: 11.92 kB / 1.191 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6602, allocations: 3.984 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008729/0.661, allocations: 0.8878 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.661, allocations: 4 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.6616, allocations: 147.8 kB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/0.6621, allocations: 68.8 kB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.6621, allocations: 27.97 kB / 1.192 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.6639, allocations: 1.67 MB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6639, allocations: 0 / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.6657, allocations: 0.9278 MB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.666, allocations: 271.7 kB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.6661, allocations: 16 kB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.6667, allocations: 67.92 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.6668, allocations: 68.84 kB / 1.195 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.6669, allocations: 39.97 kB / 1.195 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004706/0.6674, allocations: 455 kB / 1.195 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6674, allocations: 0 / 1.195 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006228/0.668, allocations: 315.3 kB / 1.196 GB, free: 10.11 MB / 0.9512 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.003098/0.6711, allocations: 1.992 MB / 1.198 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.6731, allocations: 0.9953 MB / 1.199 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6731, allocations: 4.062 kB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.674, allocations: 0.512 MB / 1.199 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.675, allocations: 293.4 kB / 1.199 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009737/0.6847, allocations: 6.742 MB / 1.206 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.6852, allocations: 1.019 MB / 1.207 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007274/0.686, allocations: 262.6 kB / 1.207 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.6864, allocations: 382.6 kB / 1.208 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.6864, allocations: 0 / 1.208 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/0.8205, allocations: 21.08 MB / 1.228 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/0.8208, allocations: 327 kB / 1.229 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.183, allocations: 0 / 1.229 GB, free: 8.898 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)